lib/asciidoctor/cc/isodoc.rng in metanorma-cc-1.5.3 vs lib/asciidoctor/cc/isodoc.rng in metanorma-cc-1.5.4
- old
+ new
@@ -62,10 +62,15 @@
<value>capital</value>
<value>lowercase</value>
</choice>
</attribute>
</optional>
+ <optional>
+ <attribute name="droploc">
+ <data type="boolean"/>
+ </attribute>
+ </optional>
<text/>
</element>
</define>
<define name="ul">
<element name="ul">
@@ -857,10 +862,17 @@
</element>
</element>
</define>
<define name="standard-document">
<element name="standard-document">
+ <attribute name="version"/>
+ <attribute name="type">
+ <choice>
+ <value>semantic</value>
+ <value>presentation</value>
+ </choice>
+ </attribute>
<ref name="bibdata"/>
<optional>
<ref name="boilerplate"/>
</optional>
<optional>
@@ -878,11 +890,11 @@
<define name="preface">
<element name="preface">
<oneOrMore>
<choice>
<ref name="content"/>
- <ref name="preface_abstract"/>
+ <ref name="abstract"/>
<ref name="foreword"/>
<ref name="introduction"/>
<ref name="acknowledgements"/>
</choice>
</oneOrMore>
@@ -1477,14 +1489,9 @@
<optional>
<element name="year">
<text/>
</element>
</optional>
- </element>
- </define>
- <define name="preface_abstract">
- <element name="abstract">
- <ref name="Basic-Section"/>
</element>
</define>
<define name="term-clause">
<element name="clause">
<optional>