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.
精彩评论