Re: [Simple-support] XJC and SimpleXML
Brought to you by:
niallg
|
From: Robert M. <rob...@gm...> - 2012-04-21 07:24:01
|
No there is not. But there has been alot of interest in writing a translator from JAXB annotations to Simple XML ones for exactly this reason. Maybe somebody will do it soon but currently there are no options other than to do this manually. You might have some luck with find-and-replace code. Robert On Sat, Apr 21, 2012 at 4:47 PM, kyle polich <kyl...@gm...> wrote: > Hi All, > > I had been doing development using Jaxb for a desktop Java application. > The XML schema I am using has an XSD file which defines over 200 objects. > I used the xjc application to create all the class files I needed. I want > to port my application to Android, and discovered there is no support for > Jaxb there. Many posts pointed me to the wonderfully light weight > SimpleXML library. > > My problem is that SimpleXML does not support the annotations used in the > class files created by xjc. Is there an equivalent tool for SimpleXML > which can produce compatible classes from an XSD file? Alternatively, is > there any tool for translating the annotations I have now into ones > SimpleXML will like? > > Thanks, > > Kyle > > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Simple-support mailing list > Sim...@li... > https://lists.sourceforge.net/lists/listinfo/simple-support > > |