Skip to content

Commit

Permalink
[editorial] don't allow TargetTypeValue to be 0
Browse files Browse the repository at this point in the history
It's a mandatory element without a default value. So any value should
be OK, 0 won't be used as a default value.
But to avoid confusion we forbid the value 0.
  • Loading branch information
robUx4 committed Sep 8, 2024
1 parent 4ab5462 commit 3b9d3c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ebml_matroska.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1589,7 +1589,7 @@ If empty or omitted, then the tag value describes everything in the `Segment`.</
<extension type="webmproject.org" webm="1"/>
<extension type="libmatroska" cppname="TagTargets"/>
</element>
<element name="TargetTypeValue" path="\Segment\Tags\Tag\Targets\TargetTypeValue" id="0x68CA" type="uinteger" default="50" minOccurs="1" maxOccurs="1">
<element name="TargetTypeValue" path="\Segment\Tags\Tag\Targets\TargetTypeValue" id="0x68CA" type="uinteger" range="not 0" default="50" minOccurs="1" maxOccurs="1">
<documentation lang="en" purpose="definition">A number to indicate the logical level of the target.</documentation>
<restriction>
<enum value="70" label="COLLECTION">
Expand Down

0 comments on commit 3b9d3c9

Please sign in to comment.