Skip to content

Commit

Permalink
fix maxOccurs default value in the EBML Schema (#396)
Browse files Browse the repository at this point in the history
* fix maxOccurs default value in the EBML Schema

* revert changes in specification
  • Loading branch information
nerg4l authored and robUx4 committed Apr 9, 2023
1 parent ea6f720 commit 12e3c2a
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions EBMLSchema.xsd
Expand Up @@ -61,11 +61,20 @@
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="maxOccurs" default="1">
<xs:attribute name="maxOccurs" default="unbounded">
<xs:simpleType>
<xs:restriction base="xs:integer">
<xs:minInclusive value="0"/>
</xs:restriction>
<xs:union>
<xs:simpleType>
<xs:restriction base="xs:integer">
<xs:minInclusive value="0"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="unbounded"/>
</xs:restriction>
</xs:simpleType>
</xs:union>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="range"/>
Expand Down

0 comments on commit 12e3c2a

Please sign in to comment.