contexts
contexts copied to clipboard
RSS2 validity checks are not compliant with the RSS2.0 specification
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.