lib/metanorma/ietf/isodoc.rng in metanorma-ietf-3.0.0 vs lib/metanorma/ietf/isodoc.rng in metanorma-ietf-3.0.1
- old
+ new
@@ -30,10 +30,47 @@
<attribute name="abbreviation"/>
</optional>
<ref name="DocumentType"/>
</element>
</define>
+ <define name="index">
+ <element name="index">
+ <optional>
+ <attribute name="to">
+ <data type="IDREF"/>
+ </attribute>
+ </optional>
+ <element name="primary">
+ <oneOrMore>
+ <choice>
+ <ref name="PureTextElement"/>
+ <ref name="stem"/>
+ </choice>
+ </oneOrMore>
+ </element>
+ <optional>
+ <element name="secondary">
+ <oneOrMore>
+ <choice>
+ <ref name="PureTextElement"/>
+ <ref name="stem"/>
+ </choice>
+ </oneOrMore>
+ </element>
+ </optional>
+ <optional>
+ <element name="tertiary">
+ <oneOrMore>
+ <choice>
+ <ref name="PureTextElement"/>
+ <ref name="stem"/>
+ </choice>
+ </oneOrMore>
+ </element>
+ </optional>
+ </element>
+ </define>
<define name="bibitem">
<element name="bibitem">
<attribute name="id">
<data type="ID"/>
</attribute>
@@ -1025,10 +1062,30 @@
<ref name="index"/>
</choice>
</zeroOrMore>
</element>
</define>
+ <define name="sub">
+ <element name="sub">
+ <zeroOrMore>
+ <choice>
+ <ref name="PureTextElement"/>
+ <ref name="stem"/>
+ </choice>
+ </zeroOrMore>
+ </element>
+ </define>
+ <define name="sup">
+ <element name="sup">
+ <zeroOrMore>
+ <choice>
+ <ref name="PureTextElement"/>
+ <ref name="stem"/>
+ </choice>
+ </zeroOrMore>
+ </element>
+ </define>
<define name="pagebreak">
<element name="pagebreak">
<optional>
<attribute name="orientation">
<choice>
@@ -2214,10 +2271,21 @@
<optional>
<attribute name="multilingual-rendering">
<ref name="MultilingualRenderingType"/>
</attribute>
</optional>
- <ref name="paragraph"/>
+ <oneOrMore>
+ <choice>
+ <ref name="formula"/>
+ <ref name="ul"/>
+ <ref name="ol"/>
+ <ref name="dl"/>
+ <ref name="quote"/>
+ <ref name="sourcecode"/>
+ <ref name="paragraph"/>
+ <ref name="figure"/>
+ </choice>
+ </oneOrMore>
</element>
</define>
<define name="termsource">
<element name="termsource">
<attribute name="status">