Skip to content

Commit

Permalink
make the enum minver greater or equal than the <element> minver
Browse files Browse the repository at this point in the history
  • Loading branch information
robUx4 committed Apr 4, 2021
1 parent 6276ea5 commit 099ae52
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion EBMLSchema.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
</xs:sequence>
<xs:attribute name="label"/>
<xs:attribute name="value" use="required"/>
<xs:attribute name="minver" default="1"/>
<xs:attribute name="minver"/>
</xs:complexType>

<xs:complexType name="documentationType" mixed="true">
Expand Down
7 changes: 4 additions & 3 deletions specification.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -1161,11 +1161,12 @@ Within an EBML Schema, the XPath of the `@value` attribute is
`/EBMLSchema/element/restriction/enum/@minver`.

The `minver` (minimum version) attribute stores a nonnegative integer that
represents the first version of the docType to support the enum value.
represents the first version of the docType to support the enum value. The value
**MUST** be greater or equal to the `minver` attribute value of the EBML Element it belongs to.

The `minver` attribute is **OPTIONAL**. If the `minver`
attribute is not present, then the enum value has a minimum version of
"1".
attribute is not present, then the enum value has the same value as the `minver` attribute of the
EBML Element it belongs to.

### `<extension>` Element

Expand Down

0 comments on commit 099ae52

Please sign in to comment.