Re: [Simple-support] How to handle "ANY"
Brought to you by:
niallg
|
From: Niall G. <gal...@ya...> - 2012-11-04 21:30:18
|
Try use @ElementUnion, you can specify a large list of types that are acceptable. Failing that a Converter will work. --- On Sun, 4/11/12, Michael Lipp <mn...@mn...> wrote: > From: Michael Lipp <mn...@mn...> > Subject: [Simple-support] How to handle "ANY" > To: sim...@li... > Received: Sunday, 4 November, 2012, 11:03 AM > Hi, > > trying to use simple XML, I've run into a problem. How am I > going to > handle "ANY"? My schema says: <!ELEMENT extension > ANY>. On the Java side > it's an attribute of type Object. But how can I annotate > it? > > Regards, > > Michael > > > > > ------------------------------------------------------------------------------ > LogMeIn Central: Instant, anywhere, Remote PC access and > management. > Stay in control, update software, and manage PCs from one > command center > Diagnose problems and improve visibility into emerging IT > issues > Automate, monitor and manage. Do more in less time with > Central > http://p.sf.net/sfu/logmein12331_d2d > _______________________________________________ > Simple-support mailing list > Sim...@li... > https://lists.sourceforge.net/lists/listinfo/simple-support > |