Skip to content

Commit

Permalink
spectool: allow multiple copies of recurring elements
Browse files Browse the repository at this point in the history
In libmatroska2 this should be a seperate flag in the semantic.
  • Loading branch information
robUx4 committed Sep 18, 2022
1 parent 4aa04ce commit 24021ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions spectool/schema_2_kaxsematic_cpp.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,7 @@ namespace libmatroska {
</xsl:choose>
<xsl:text>, </xsl:text>
<xsl:choose>
<xsl:when test="$node/@recurring='1'"><xsl:text>false</xsl:text></xsl:when>
<xsl:when test="$node/@maxOccurs='1'"><xsl:text>true</xsl:text></xsl:when>
<xsl:otherwise><xsl:text>false</xsl:text></xsl:otherwise>
</xsl:choose>
Expand Down
1 change: 1 addition & 0 deletions spectool/schema_2_matroska_sem_c.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,7 @@
</xsl:choose>
<xsl:text>, </xsl:text>
<xsl:choose>
<xsl:when test="$node/@recurring='1'"><xsl:text>0</xsl:text></xsl:when>
<xsl:when test="$node/@maxOccurs='1'"><xsl:text>1</xsl:text></xsl:when>
<xsl:otherwise><xsl:text>0</xsl:text></xsl:otherwise>
</xsl:choose>
Expand Down

0 comments on commit 24021ba

Please sign in to comment.