PDA

View Full Version : xmlreader crashing on html comment inside xml feed



Zxurian
21 Aug 2012, 10:02 AM
I'm using a dataStore with an xmlreader, however the javascript is crashing whenever I load Yahoo!'s RSS News feed, apparently the problem is that Yahoo includes an HTML comment at the end of there rss feed with a timestamp. The specific javascript error is as follows


no element found





<!-- rc2.ops.bf1.yahoo.com uncompressed/chunked Tue Aug 21 17:14:17 UTC 2012 ---^










Any ideas on how to avoid extjs having issues with comments in an xml feed?

scottmartin
24 Aug 2012, 9:52 AM
however the javascript is crashing

Where is it crashing .. can you intercept the response and parse out the string?

Scott.