Re: [Simple-support] Parsing issues (list)
Brought to you by:
niallg
|
From: Gareth M. <gar...@gm...> - 2012-03-15 04:03:44
|
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...> wrote: > What error do you get when you try to parse it? > > --- On *Wed, 14/3/12, Gareth Murfin <gar...@gm...>* wrote: > > > From: Gareth Murfin <gar...@gm...> > Subject: [Simple-support] Parsing issues (list) > To: sim...@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 |