We're updating the issue view to help you get more done. 

RSS1.0 feeds with rss namespace not defined in root element not detected

Description

The RSS 1.0 Parser does only recognize rss feeds which have the rss namespace declared in the root element of the xml. Valid feeds can declare them later though, for example in the channel element in this valid feed: http://onlinelibrary.wiley.com/rss/journal/10.1111/%28ISSN%291654-1103

<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<channel rdf:about="http://onlinelibrary.wiley.com/rss/journal/10.1111/(ISSN)1654-1103" xmlns="http://purl.org/rss/1.0/">

The attached patch for the RSS10Parser.isMyType(Document document) method checks the channel elements namespace instead and works fine in my test.

PS: Other rss parsers follow the same pattern and might have the same issue

Environment

OSX

Status

Assignee

ROME Jira Lead

Reporter

Markus Döring

Labels

None

Participants

None

Affects versions

current

Priority

Major