Re: [Simple-support] Information about Simple Framework and Tools
Brought to you by:
niallg
|
From: Dušan M. <dus...@gm...> - 2011-02-25 14:05:28
|
I share your frustration, I didn't get much support here either. On Fri, Feb 25, 2011 at 14:13, Eduardo Martins <emm...@gm...> wrote: > Hi, is there someone kind to reply? > > -- Eduardo > .............................................. > http://emmartins.blogspot.com > http://redhat.com/solutions/telco > > > > On Thu, Feb 17, 2011 at 12:02 PM, Eduardo Martins <emm...@gm...> > wrote: > > Hi, I'm currently evaluating the replacement of JAXB with Simple, and > > need some information, which I couldn't find in the website: > > > > 1) Is there a tool similar to xjc, which takes xsd as input and > > produces the pojos? > > > > 2) Is Simple able to mix different set of pojos, bound to different > > namespaces? For instance consider a schema which has an element that > > can be extended with another qualified element, such as > > > > <xs:any namespace="##other" processContents="lax" minOccurs="0" > > maxOccurs="unbounded"/> > > > > Now we throw some xml to Simple for deserialization, and in that "any" > > position comes an element bound to another set of Simple pojos, with > > different namespace(s), will the framework deserialize that element > > too into its own pojos? > > > > 3) Regarding serialization, and this is the major reason why I'm > > considering to leave JAXB, when there is a JAXBContext bound to > > multiple namespaces, the serialized xml root element will be "bloated" > > with all possible namespaces, even if there are no children elements > > with these namespaces. How does Simple handles such cases, same > > procedure as jaxb? Includes in root element only the uses namespaces? > > Declares "children" namespaces in all children elements, thus > > introducing multiplies declarations of same namespaces? > > > > Thanks in advance. > > > > -- Eduardo > > .............................................. > > http://emmartins.blogspot.com > > http://redhat.com/solutions/telco > > > > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT > data > generated by your applications, servers and devices whether physical, > virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > Simple-support mailing list > Sim...@li... > https://lists.sourceforge.net/lists/listinfo/simple-support > -- *+* *Best regards*, Dušan Maliarik // cell: +31646233420 *+* |