Many thanks - I created a standalone application with the RSS url hardcoded and it worked, looked at the code in my app and found it wasn't passing the URL correctly, so I only received a subset of the feed.
It's amazing what 24 hours can do for your patience :-) Mike Hepple On Thu, Feb 19, 2009 at 2:34 PM, <kesh...@us.ibm.com> wrote: > >> <report:attributes> >> <report:attribute type="Source">TV Cap</report:attribute> >> <report:attribute type="Source">HDTV</report:attribute> >> <report:attribute type="Video Fmt">x264</report:attribute> >> <report:attribute type="Video Fmt">720p</report:attribute> >> <report:attribute type="Video >> Genre">Action/Adv</report:attribute> >> <report:attribute type="Video Genre">Drama</report:attribute> >> <report:attribute type="Language">English</report:attribute> >> </report:attributes> >> >> The "report:attributes" node is returning as having 0 children, as >> this debug output shows: > > Hard to believe, since this sort of bug should be detected and corrected > immediately during pre-release testing. > > So as a first step, I'd suggest modifying your code so it captures and/or > prints out the incoming stream, so you can check that you are receiving the > document you think you are. (Use a tee filter, or copy the stream into a > file and parse it back in from there.) > > Another obvious question is whether there's another (empty) > report:attributes element elsewhere in the document, and you're looking at > that rather than this. > > Or there might be a flaw in your DOM-accessing code, which you didn't show > us. Generally, it's a good idea to work up a small stand-alone example which > demonstrates the problem -- that gives us something we can usefully debug, > and if there is a problem in your code it often becomes much easier to see > when isolated. -- ---------------------------------------------- Mike Hepple m...@impresariostudios.com ---------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: j-users-unsubscr...@xerces.apache.org For additional commands, e-mail: j-users-h...@xerces.apache.org