lib/asciidoctor/vsd/basicdoc.rng in metanorma-vsd-0.5.7 vs lib/asciidoctor/vsd/basicdoc.rng in metanorma-vsd-0.5.8
- old
+ new
@@ -50,13 +50,13 @@
<attribute name="script"/>
</optional>
<optional>
<ref name="section-title"/>
</optional>
- <optional>
+ <zeroOrMore>
<ref name="BasicBlock"/>
- </optional>
+ </zeroOrMore>
<zeroOrMore>
<ref name="note"/>
</zeroOrMore>
</define>
<define name="references">
@@ -283,10 +283,13 @@
<element name="pre">
<attribute name="id">
<data type="ID"/>
</attribute>
<optional>
+ <attribute name="alt"/>
+ </optional>
+ <optional>
<ref name="tname"/>
</optional>
<text/>
<zeroOrMore>
<ref name="note"/>
@@ -562,10 +565,11 @@
<ref name="hyperlink"/>
<ref name="hr"/>
<ref name="pagebreak"/>
<ref name="bookmark"/>
<ref name="image"/>
+ <ref name="index"/>
</choice>
</define>
<define name="PureTextElement">
<choice>
<text/>
@@ -684,9 +688,20 @@
</element>
</define>
<define name="pagebreak">
<element name="pagebreak">
<empty/>
+ </element>
+ </define>
+ <define name="index">
+ <element name="index">
+ <attribute name="primary"/>
+ <optional>
+ <attribute name="secondary"/>
+ </optional>
+ <optional>
+ <attribute name="tertiary"/>
+ </optional>
</element>
</define>
<!-- bare ID element, used for referencing arbitrary spans of text -->
<define name="bookmark">
<element name="bookmark">