Skip to content

Commit

Permalink
Rename EBML-ELEMENT-VALID-PARENT to MKV-ELEMENT-VALID-PARENT
Browse files Browse the repository at this point in the history
The test can not be EBML generic, as it needs the Matroska specifications information.
  • Loading branch information
JeromeMartinez committed Jun 22, 2017
1 parent fed2867 commit 4a9a002
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions MetadataDevelopment/ImplementationChecks/EBMLRegistry.xml
Expand Up @@ -32,7 +32,7 @@
<reference_file>docTypeReadVersion_greaterthan_docTypeVersion.mkv</reference_file>
<manager>MediaConch</manager>
</rule>
<rule icid="EBML-ELEMENT-VALID-PARENT">
<rule icid="MKV-ELEMENT-VALID-PARENT">
<name>All Elements MUST have valid parents</name>
<authority></authority>
<target_format>EBML</target_format>
Expand Down Expand Up @@ -153,7 +153,7 @@
<definition>Ensure MKV Element ID is registered in specdata.xml (as of 2014-12-13 this is 224 registered Element IDs)</definition>
<reference_file>unknown_element.mkv</reference_file>
<manager>MediaConch</manager>
<note>deprecated by EBML-ELEMENT-VALID-PARENT</note>
<note>deprecated by MKV-ELEMENT-VALID-PARENT</note>
</rule>
<rule icid="EBML-ELEM-SIZE-7F">
<name>Element Size 0x7F Reservation</name>
Expand Down
Expand Up @@ -126,13 +126,13 @@
<xsl:with-param name="x_name">DocTypeVersion</xsl:with-param>
</xsl:call-template>
<!-- /EBML-DOCVER-COH -->
<!-- EBML-ELEMENT-VALID-PARENT -->
<!-- MKV-ELEMENT-VALID-PARENT -->
<xsl:call-template name="element_has_valid_parent">
<xsl:with-param name="icid">EBML-ELEMENT-VALID-PARENT</xsl:with-param>
<xsl:with-param name="icid">MKV-ELEMENT-VALID-PARENT</xsl:with-param>
<xsl:with-param name="version">1</xsl:with-param>
<xsl:with-param name="element" select="mt:MediaTrace/mt:block//mt:block[mt:block[1][@name='Header']/mt:data[@name='Name']]"/>
</xsl:call-template>
<!-- /EBML-ELEMENT-VALID-PARENT -->
<!-- /MKV-ELEMENT-VALID-PARENT -->
<!-- EBML-ELEMENT-NONMULTIPLES -->
<xsl:call-template name="element_does_not_repeat_in_parent">
<xsl:with-param name="icid">EBML-ELEMENT-NONMULTIPLES</xsl:with-param>
Expand Down
Expand Up @@ -109,13 +109,13 @@
<xsl:with-param name="x_name">DocTypeVersion</xsl:with-param>
</xsl:call-template>
<!-- /EBML-DOCVER-COH -->
<!-- EBML-ELEMENT-VALID-PARENT -->
<!-- MKV-ELEMENT-VALID-PARENT -->
<xsl:call-template name="element_has_valid_parent">
<xsl:with-param name="icid">EBML-ELEMENT-VALID-PARENT</xsl:with-param>
<xsl:with-param name="icid">MKV-ELEMENT-VALID-PARENT</xsl:with-param>
<xsl:with-param name="version">1</xsl:with-param>
<xsl:with-param name="element" select="mmt:MicroMediaTrace/mmt:b//mmt:b[mmt:b[1][@n='Header']/mmt:d[@n='Name']]"/>
</xsl:call-template>
<!-- /EBML-ELEMENT-VALID-PARENT -->
<!-- /MKV-ELEMENT-VALID-PARENT -->
<!-- NO-JUNK-IN-FIXEDSIZE-MATROSKA -->
<xsl:call-template name="element_contains_no_junk">
<xsl:with-param name="icid">EBML-NO-JUNK-IN-FIXEDSIZE-ELEMENT</xsl:with-param>
Expand Down

0 comments on commit 4a9a002

Please sign in to comment.