开发者

issue in reading rss feed using java

Hie

I tried to follow vogella

and when i use a rss feed it throws following exception:

Exception in thread "main" java.lang.RuntimeException: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,50]
Message: White spaces are required between publicId and systemId.
    at vik.tools.changeNotifier.RSSFeedParser.readFeed(RSSFeedParser.java:131)
    at vik.tools.changeNotifier.ReadTest.main(ReadTest.java:6)
Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,50]
Message: White spaces are required between publicId and systemId.
    at com.sun.org.apache.xerces开发者_运维技巧.internal.impl.XMLStreamReaderImpl.next(XMLStreamReaderImpl.java:594)
    at com.sun.xml.internal.stream.XMLEventReaderImpl.nextEvent(XMLEventReaderImpl.java:85)
    at vik.tools.changeNotifier.RSSFeedParser.readFeed(RSSFeedParser.java:61)

Any advise on this please..


because this is not a rss page. it's an html page. a css page would be, for example, http://www.vogella.de/article.rss .


ok looks like issue was with rss url itself. i tested with other frameworks and rss reader codes and i got the same issue.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜