Quantcast
Channel: While parsing RSS feed through Rome getting Content is not allowed in prolog - Stack Overflow
Browsing all 4 articles
Browse latest View live

Answer by Mark Butler for While parsing RSS feed through Rome getting Content...

It's due to a Byte Order Mark problem. Here is a JUnit test case that demonstrates the problem and the fix:package rss;import org.xml.sax.InputSource;import java.io.*;import java.net.*;import...

View Article



Answer by user1374011 for While parsing RSS feed through Rome getting Content...

you can use SyndFeed and SyndEntry for parsing the xmlAlso you need to check whether the xml is a valid oneURL url = new URL("http://feeds.feedburner.com/javatipsfeed"); XmlReader reader = null; try {...

View Article

Answer by Nischal Hp for While parsing RSS feed through Rome getting Content...

I am using Syndication as well and i am able to get published date and title.My code is as follows:URL feedUrl = new URL("http://www.bloomberg.com/tvradio/podcast/cat_markets.xml");SyndFeedInput input...

View Article

While parsing RSS feed through Rome getting Content is not allowed in prolog

Using Rome API to parse the RSS feeds I am getting this error :com.sun.syndication.io.ParsingFeedException: Invalid XML at com.sun.syndication.io.WireFeedInput.build(WireFeedInput.java:210)The code is...

View Article
Browsing all 4 articles
Browse latest View live


Latest Images