lib/asciidoctor/mpfd/isostandard.rng in metanorma-mpfd-0.2.2 vs lib/asciidoctor/mpfd/isostandard.rng in metanorma-mpfd-0.2.3
- old
+ new
@@ -91,10 +91,16 @@
<attribute name="id">
<data type="ID"/>
</attribute>
</optional>
<optional>
+ <attribute name="language"/>
+ </optional>
+ <optional>
+ <attribute name="script"/>
+ </optional>
+ <optional>
<attribute name="obligation">
<choice>
<value>normative</value>
<value>informative</value>
</choice>
@@ -117,10 +123,16 @@
<attribute name="id">
<data type="ID"/>
</attribute>
</optional>
<optional>
+ <attribute name="language"/>
+ </optional>
+ <optional>
+ <attribute name="script"/>
+ </optional>
+ <optional>
<attribute name="obligation">
<choice>
<value>normative</value>
<value>informative</value>
</choice>
@@ -148,10 +160,16 @@
<attribute name="id">
<data type="ID"/>
</attribute>
</optional>
<optional>
+ <attribute name="language"/>
+ </optional>
+ <optional>
+ <attribute name="script"/>
+ </optional>
+ <optional>
<attribute name="inline-header">
<data type="boolean"/>
</attribute>
</optional>
<optional>
@@ -211,10 +229,16 @@
<attribute name="id">
<data type="ID"/>
</attribute>
</optional>
<optional>
+ <attribute name="language"/>
+ </optional>
+ <optional>
+ <attribute name="script"/>
+ </optional>
+ <optional>
<attribute name="obligation">
<choice>
<value>normative</value>
<value>informative</value>
</choice>
@@ -229,10 +253,16 @@
<attribute name="id">
<data type="ID"/>
</attribute>
</optional>
<optional>
+ <attribute name="language"/>
+ </optional>
+ <optional>
+ <attribute name="script"/>
+ </optional>
+ <optional>
<attribute name="obligation">
<choice>
<value>normative</value>
<value>informative</value>
</choice>
@@ -302,10 +332,16 @@
<attribute name="id">
<data type="ID"/>
</attribute>
</optional>
<optional>
+ <attribute name="language"/>
+ </optional>
+ <optional>
+ <attribute name="script"/>
+ </optional>
+ <optional>
<attribute name="inline-header">
<data type="boolean"/>
</attribute>
</optional>
<optional>
@@ -523,10 +559,33 @@
<value>publicly-available-specification</value>
<value>international-workshop-agreement</value>
<value>guide</value>
</choice>
</define>
+ <define name="structuredidentifier">
+ <element name="structuredidentifier">
+ <optional>
+ <attribute name="type"/>
+ </optional>
+ <group>
+ <ref name="documentnumber"/>
+ <optional>
+ <ref name="tc-documentnumber"/>
+ </optional>
+ </group>
+ </element>
+ </define>
+ <define name="foreword">
+ <element name="foreword">
+ <ref name="Basic-Section"/>
+ </element>
+ </define>
+ <define name="introduction">
+ <element name="introduction">
+ <ref name="Content-Section"/>
+ </element>
+ </define>
</include>
<!-- end overrides -->
<!--
We display the Normative References between scope and terms; but to keep the
grammar simple, we keep the references together
@@ -579,33 +638,10 @@
<define name="preface_abstract">
<element name="abstract">
<ref name="Basic-Section"/>
</element>
</define>
- <define name="foreword">
- <element name="foreword">
- <ref name="Basic-Section"/>
- </element>
- </define>
- <define name="introduction">
- <element name="introduction">
- <ref name="Content-Section"/>
- </element>
- </define>
- <define name="structuredidentifier">
- <element name="structuredidentifier">
- <optional>
- <attribute name="type"/>
- </optional>
- <group>
- <ref name="documentnumber"/>
- <optional>
- <ref name="tc-documentnumber"/>
- </optional>
- </group>
- </element>
- </define>
<define name="documentnumber">
<element name="project-number">
<optional>
<attribute name="part">
<data type="int"/>
@@ -661,10 +697,16 @@
<attribute name="id">
<data type="ID"/>
</attribute>
</optional>
<optional>
+ <attribute name="language"/>
+ </optional>
+ <optional>
+ <attribute name="script"/>
+ </optional>
+ <optional>
<attribute name="inline-header">
<data type="boolean"/>
</attribute>
</optional>
<optional>
@@ -722,10 +764,16 @@
<attribute name="id">
<data type="ID"/>
</attribute>
</optional>
<optional>
+ <attribute name="language"/>
+ </optional>
+ <optional>
+ <attribute name="script"/>
+ </optional>
+ <optional>
<attribute name="inline-header">
<data type="boolean"/>
</attribute>
</optional>
<optional>
@@ -752,9 +800,15 @@
<element name="clause">
<optional>
<attribute name="id">
<data type="ID"/>
</attribute>
+ </optional>
+ <optional>
+ <attribute name="language"/>
+ </optional>
+ <optional>
+ <attribute name="script"/>
</optional>
<optional>
<attribute name="inline-header">
<data type="boolean"/>
</attribute>