lib/metanorma/itu/biblio.rng in metanorma-itu-2.0.7 vs lib/metanorma/itu/biblio.rng in metanorma-itu-2.0.8
- old
+ new
@@ -525,11 +525,11 @@
<ref name="referenceTo"/>
</optional>
</define>
<define name="LocalityType">
<data type="string">
- <param name="pattern">section|clause|part|paragraph|chapter|page|whole|table|annex|figure|note|list|example|volume|issue|time|anchor|locality:[a-zA-Z0-9_]+</param>
+ <param name="pattern">section|clause|part|paragraph|chapter|page|title|line|whole|table|annex|figure|note|list|example|volume|issue|time|anchor|locality:[a-zA-Z0-9_]+</param>
</data>
</define>
<define name="referenceFrom">
<element name="referenceFrom">
<text/>
@@ -675,10 +675,13 @@
<ref name="bprice"/>
</zeroOrMore>
<zeroOrMore>
<ref name="extent"/>
</zeroOrMore>
+ <optional>
+ <ref name="bibliographic_size"/>
+ </optional>
<zeroOrMore>
<ref name="accesslocation"/>
</zeroOrMore>
<zeroOrMore>
<ref name="license"/>
@@ -920,12 +923,32 @@
<define name="accesslocation">
<element name="accesslocation">
<text/>
</element>
</define>
+ <define name="sizevalue">
+ <element name="value">
+ <attribute name="type"/>
+ <text/>
+ </element>
+ </define>
+ <define name="bibliographic_size">
+ <element name="size">
+ <oneOrMore>
+ <ref name="sizevalue"/>
+ </oneOrMore>
+ </element>
+ </define>
<define name="extent">
<element name="extent">
- <ref name="BibItemLocality"/>
+ <choice>
+ <zeroOrMore>
+ <ref name="locality"/>
+ </zeroOrMore>
+ <zeroOrMore>
+ <ref name="localityStack"/>
+ </zeroOrMore>
+ </choice>
</element>
</define>
<define name="series">
<element name="series">
<optional>