Skip to content
This repository has been archived by the owner on Apr 20, 2021. It is now read-only.

RSS2 validity checks are not compliant with the RSS2.0 specification #153

Open
araines opened this issue Dec 10, 2015 · 0 comments
Open

Comments

@araines
Copy link
Contributor

araines commented Dec 10, 2015

Having looked through the source, I found this within the RSS2.0 XSD being used:

      <xs:element name="item" type="RssItem" minOccurs="1" maxOccurs="unbounded">
         <!-- 
           HACK: According to the RSS 2.0 spec, it should strictly be possible to have zero item elements, 
                 but this makes the schema non-deterministic with regard to extensibility elements
                 so for the moment we undid bug-fix 10231 and set minOccurs=1 to work around this problem. 
         -->
      </xs:element>

The minOccurs=1 is causing some of my tests to fail when they should not.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant