I am trying to parse an RSS feed with Java ROME which has this incorrect version:
<rss version="2">
When I change it to "2.0" it parses correctly. How can I work around this using Java ROME?
I could subclass RSS20Parser and override isMyType but where and how do I register this new parser?
I solved this by creating a subclass of
RSS20Parserand by overridingisMyType. Then I copiedrome.properties, added the subclass to the list of parsers inWireFeedParser.classesand placed this file on the classpath. I happened to be programming in Clojure and here is the code: