You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While running pubrss-2-amgrss, the test input e67004c-0.xml fails validation with the following error:
failed validating <Element '{http://www.amagi.com/amgrss/}season' at 0x1083f14e0> with Xsd11Group(model='sequence', occurs=[1, 1]):
Reason: The content of element 'tns:season' is not complete. Tag 'tns:seasonTitle' expected.
schema2.xsd expects seasonTitle, seasonThumbnail and broadcastDate to be present for all instances of . However, a season with seasonNumber alone is viable. For example, the following season in e67004c-0.xml:
<seasonNumber>1</seasonNumber>
gets converted to an intermediate pubrss-2-amgrss output xml as follows:
While running pubrss-2-amgrss, the test input e67004c-0.xml fails validation with the following error:
schema2.xsd expects seasonTitle, seasonThumbnail and broadcastDate to be present for all instances of . However, a season with seasonNumber alone is viable. For example, the following season in e67004c-0.xml:
gets converted to an intermediate pubrss-2-amgrss output xml as follows:
I think the above season specification should pass validation. Hence, I propose minOccurs = 0 and maxOccurs = 1 for the following season attributes:
The text was updated successfully, but these errors were encountered: