lib/metanorma/ogc/biblio.rng in metanorma-ogc-2.2.2.1 vs lib/metanorma/ogc/biblio.rng in metanorma-ogc-2.2.3
- old
+ new
@@ -71,12 +71,18 @@
<define name="language">
<element name="language">
<text/>
</element>
</define>
- <define name="script">
+ <define name="locale">
<a:documentation>ISO-639</a:documentation>
+ <element name="locale">
+ <text/>
+ </element>
+ </define>
+ <define name="script">
+ <a:documentation>ISO-3166</a:documentation>
<element name="script">
<text/>
</element>
</define>
<define name="edition">
@@ -92,10 +98,13 @@
<optional>
<!-- multiple languages and scripts possible: comma delimit them if so -->
<attribute name="language"/>
</optional>
<optional>
+ <attribute name="locale"/>
+ </optional>
+ <optional>
<attribute name="script"/>
</optional>
<text/>
</define>
<define name="LocalizedString">
@@ -135,10 +144,13 @@
<optional>
<!-- multiple languages and scripts possible: comma delimit them if so -->
<attribute name="language"/>
</optional>
<optional>
+ <attribute name="locale"/>
+ </optional>
+ <optional>
<attribute name="script"/>
</optional>
<oneOrMore>
<choice>
<text/>
@@ -649,10 +661,13 @@
</zeroOrMore>
<zeroOrMore>
<ref name="language"/>
</zeroOrMore>
<zeroOrMore>
+ <ref name="locale"/>
+ </zeroOrMore>
+ <zeroOrMore>
<ref name="script"/>
</zeroOrMore>
<zeroOrMore>
<ref name="bibabstract"/>
</zeroOrMore>
@@ -740,10 +755,13 @@
</zeroOrMore>
<zeroOrMore>
<ref name="language"/>
</zeroOrMore>
<zeroOrMore>
+ <ref name="locale"/>
+ </zeroOrMore>
+ <zeroOrMore>
<ref name="script"/>
</zeroOrMore>
<zeroOrMore>
<ref name="bibabstract"/>
</zeroOrMore>
@@ -852,10 +870,19 @@
<!-- TitleType = ( "alternative" | "original" | "unofficial" | "subtitle" | "main" ) -->
<define name="TypedUri">
<optional>
<attribute name="type"/>
</optional>
+ <optional>
+ <attribute name="language"/>
+ </optional>
+ <optional>
+ <attribute name="locale"/>
+ </optional>
+ <optional>
+ <attribute name="script"/>
+ </optional>
<data type="anyURI"/>
</define>
<define name="DateType">
<optional>
<attribute name="text"/>
@@ -880,10 +907,11 @@
<value>circulated</value>
<value>adapted</value>
<value>vote-started</value>
<value>vote-ended</value>
<value>announced</value>
+ <value>stable-until</value>
</choice>
</define>
<define name="bdate">
<element name="date">
<attribute name="type">
@@ -927,9 +955,12 @@
<data type="boolean"/>
</attribute>
</optional>
<optional>
<attribute name="language"/>
+ </optional>
+ <optional>
+ <attribute name="locale"/>
</optional>
<optional>
<attribute name="script"/>
</optional>
<text/>