lib/metanorma/bipm/biblio.rng in metanorma-bipm-2.1.2 vs lib/metanorma/bipm/biblio.rng in metanorma-bipm-2.1.3

- old
+ new

@@ -621,11 +621,102 @@ <ref name="btitle"/> </oneOrMore> <zeroOrMore> <ref name="bsource"/> </zeroOrMore> + <oneOrMore> + <ref name="docidentifier"/> + </oneOrMore> + <optional> + <ref name="docnumber"/> + </optional> <zeroOrMore> + <ref name="bdate"/> + </zeroOrMore> + <zeroOrMore> + <ref name="contributor"/> + </zeroOrMore> + <optional> + <ref name="edition"/> + </optional> + <zeroOrMore> + <ref name="version"/> + </zeroOrMore> + <zeroOrMore> + <ref name="biblionote"/> + </zeroOrMore> + <zeroOrMore> + <ref name="language"/> + </zeroOrMore> + <zeroOrMore> + <ref name="script"/> + </zeroOrMore> + <zeroOrMore> + <ref name="bibabstract"/> + </zeroOrMore> + <optional> + <ref name="status"/> + </optional> + <zeroOrMore> + <ref name="copyright"/> + </zeroOrMore> + <zeroOrMore> + <ref name="docrelation"/> + </zeroOrMore> + <zeroOrMore> + <ref name="series"/> + </zeroOrMore> + <optional> + <ref name="medium"/> + </optional> + <zeroOrMore> + <ref name="bplace"/> + </zeroOrMore> + <zeroOrMore> + <ref name="bprice"/> + </zeroOrMore> + <zeroOrMore> + <ref name="extent"/> + </zeroOrMore> + <optional> + <ref name="bibliographic_size"/> + </optional> + <zeroOrMore> + <ref name="accesslocation"/> + </zeroOrMore> + <zeroOrMore> + <ref name="license"/> + </zeroOrMore> + <zeroOrMore> + <ref name="bclassification"/> + </zeroOrMore> + <zeroOrMore> + <ref name="bkeyword"/> + </zeroOrMore> + <optional> + <ref name="validity"/> + </optional> + </define> + <define name="ReducedBibliographicItem"> + <optional> + <attribute name="type"> + <ref name="BibItemType"/> + </attribute> + </optional> + <optional> + <ref name="fetched"/> + </optional> + <optional> + <ref name="formattedref"/> + </optional> + <zeroOrMore> + <ref name="btitle"/> + </zeroOrMore> + <zeroOrMore> + <ref name="bsource"/> + </zeroOrMore> + <zeroOrMore> <ref name="docidentifier"/> </zeroOrMore> <optional> <ref name="docnumber"/> </optional> @@ -636,13 +727,13 @@ <ref name="contributor"/> </zeroOrMore> <optional> <ref name="edition"/> </optional> - <optional> + <zeroOrMore> <ref name="version"/> - </optional> + </zeroOrMore> <zeroOrMore> <ref name="biblionote"/> </zeroOrMore> <zeroOrMore> <ref name="language"/> @@ -831,10 +922,16 @@ <optional> <attribute name="primary"> <data type="boolean"/> </attribute> </optional> + <optional> + <attribute name="language"/> + </optional> + <optional> + <attribute name="script"/> + </optional> <text/> </element> </define> <define name="docnumber"> <element name="docnumber"> @@ -1170,11 +1267,11 @@ <element name="description"> <ref name="FormattedString"/> </element> </optional> <element name="bibitem"> - <ref name="BibliographicItem"/> + <ref name="ReducedBibliographicItem"/> </element> <choice> <zeroOrMore> <ref name="locality"/> </zeroOrMore> @@ -1195,12 +1292,12 @@ <define name="version"> <element name="version"> <optional> <ref name="revision-date"/> </optional> - <zeroOrMore> + <optional> <ref name="draft"/> - </zeroOrMore> + </optional> </element> </define> <define name="vedition"> <element name="edition"> <data type="int"/>