lib/asciidoctor/bipm/isodoc.rng in metanorma-bipm-1.1.7 vs lib/asciidoctor/bipm/isodoc.rng in metanorma-bipm-1.1.8
- old
+ new
@@ -30,10 +30,22 @@
<attribute name="abbreviation"/>
</optional>
<ref name="DocumentType"/>
</element>
</define>
+ <define name="section-title">
+ <element name="title">
+ <zeroOrMore>
+ <ref name="TextElement"/>
+ </zeroOrMore>
+ </element>
+ <zeroOrMore>
+ <element name="variant-title">
+ <ref name="TypedTitleString"/>
+ </element>
+ </zeroOrMore>
+ </define>
<define name="hyperlink">
<element name="link">
<attribute name="target">
<data type="anyURI"/>
</attribute>
@@ -156,18 +168,20 @@
<optional>
<attribute name="keep-lines-together">
<data type="boolean"/>
</attribute>
</optional>
- <attribute name="type">
- <choice>
- <value>roman</value>
- <value>alphabet</value>
- <value>arabic</value>
- <value>roman_upper</value>
- <value>alphabet_upper</value>
- </choice>
- </attribute>
+ <optional>
+ <attribute name="type">
+ <choice>
+ <value>roman</value>
+ <value>alphabet</value>
+ <value>arabic</value>
+ <value>roman_upper</value>
+ <value>alphabet_upper</value>
+ </choice>
+ </attribute>
+ </optional>
<oneOrMore>
<ref name="li"/>
</oneOrMore>
<zeroOrMore>
<ref name="note"/>