Re: [Simple-support] Parsing issues (list)
Brought to you by:
niallg
|
From: Gareth M. <gar...@gm...> - 2012-03-15 05:09:10
|
That was it thanks I was missing rss object!! thanks very much. On 15 March 2012 13:01, Niall Gallagher <gal...@ya...> wrote: > So where are you objects for element "rss"? Also are you parsing with > Persister.read(RssOrWhatever.class, inputStream, false) > > > --- On *Wed, 14/3/12, Gareth Murfin <gar...@gm...>* wrote: > > > From: Gareth Murfin <gar...@gm...> > Subject: Re: [Simple-support] Parsing issues (list) > To: > Cc: sim...@li... > Received: Wednesday, 14 March, 2012, 9:03 PM > > > Error Occured Unable to satisfy > @org.simpleframework.xml.ElementList(data=false, empty=true, entry=, > inline=true, name=, required=true, type=void) on field 'list' p > rivate static java.util.List > badminton.horsetrials.app.downloaded.audiovideo.xml.podcasts.channel.list > for class > badminton.horsetrials.app.downloaded.audiovideo.xml.podcasts.channel at > line 1 > > I cant make any sense of these error messages ever, it boils down to trial > and error for me > > On 15 March 2012 11:52, Niall Gallagher <gal...@ya...<http://mc/compose?to=...@ya...> > > wrote: > > What error do you get when you try to parse it? > > --- On *Wed, 14/3/12, Gareth Murfin <gar...@gm...<http://mc/compose?to=...@gm...> > >* wrote: > > > From: Gareth Murfin <gar...@gm...<http://mc/compose?to=...@gm...> > > > Subject: [Simple-support] Parsing issues (list) > To: sim...@li...<http://mc/compose?to=...@li...> > Received: Wednesday, 14 March, 2012, 8:41 PM > > > > Hi guys im trying to parse this XML: > http://ww3.badminton-horse.co.uk/podcast/podcast.xml > > But im having no luck at all, the usual failed to satisfy error. Ive been > trying for a whole day so Im ultra confused now, currently I have > > > @Element(name="channel")// > public class PodCastResults { > > @ElementList(inline=true) //(inline=true) > private static List<item> list; > } > > > > and > > @Element(name="item")//@Root > public class item { > > > @Element(required=false) > public String title; > } > > > All im trying to do is parse the <item> objects and have them in a list, > ive done this with tons of different xml but for some reason this one is > defeating me. Any ideas? "list" is what it has a problem with!... > > Cheers, > Gaz. > > > > > -----Inline Attachment Follows----- > > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > > -----Inline Attachment Follows----- > > _______________________________________________ > Simple-support mailing list > Sim...@li...<http://mc/compose?to=...@li...> > https://lists.sourceforge.net/lists/listinfo/simple-support > > > > > -- > Gareth Murfin > Freelance Mobile Developer: J2ME, Blackberry, Android, WinPho 7 > www.garethmurfin.co.uk > www.radiantsilverlabs.com/gaz > > > -----Inline Attachment Follows----- > > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > > -----Inline Attachment Follows----- > > _______________________________________________ > Simple-support mailing list > Sim...@li...<http://mc/compose?to=...@li...> > https://lists.sourceforge.net/lists/listinfo/simple-support > > -- Gareth Murfin Freelance Mobile Developer: J2ME, Blackberry, Android, WinPho 7 www.garethmurfin.co.uk www.radiantsilverlabs.com/gaz |