Re: [Simple-support] Information about Simple Framework and Tools
Brought to you by:
niallg
|
From: Niall G. <gal...@ya...> - 2011-02-26 01:31:52
|
Hi, 1) No there is no such tool 2) Not sure what your asing here 3) Namespaces only need to be declared once, there is very little repetition Niall --- On Fri, 25/2/11, Eduardo Martins <emm...@gm...> wrote: > From: Eduardo Martins <emmartins@gmail .com> > Subject: Re: [Simple-support] Information about Simple Framework and Tools > To: sim...@li... > Received: Friday, 25 February, 2011, 5:13 AM > 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 > |