lib/asciidoctor/csd/csd.rng in metanorma-csd-1.0.5 vs lib/asciidoctor/csd/csd.rng in metanorma-csd-1.0.6

- old
+ new

@@ -96,15 +96,190 @@ <ref name="keyword"/> </choice> </define> <define name="BibItemType"> <choice> - <value>code</value> - <value>presentation</value> - <value>proposal</value> + <value>directive</value> + <value>guide</value> + <value>specification</value> <value>standard</value> <value>report</value> + <value>administrative</value> + <value>amendment</value> + <value>technical corrigendum</value> </choice> + </define> + <define name="BibliographicItem"> + <optional> + <attribute name="type"> + <ref name="BibItemType"/> + </attribute> + </optional> + <optional> + <ref name="fetched"/> + </optional> + <choice> + <oneOrMore> + <ref name="btitle"/> + </oneOrMore> + <ref name="formattedref"/> + </choice> + <zeroOrMore> + <ref name="bsource"/> + </zeroOrMore> + <zeroOrMore> + <ref name="docidentifier"/> + </zeroOrMore> + <zeroOrMore> + <ref name="bdate"/> + </zeroOrMore> + <zeroOrMore> + <ref name="contributor"/> + </zeroOrMore> + <optional> + <ref name="edition"/> + </optional> + <zeroOrMore> + <ref name="biblionote"/> + </zeroOrMore> + <zeroOrMore> + <ref name="language"/> + </zeroOrMore> + <zeroOrMore> + <ref name="script"/> + </zeroOrMore> + <zeroOrMore> + <ref name="abstract"/> + </zeroOrMore> + <optional> + <ref name="status"/> + </optional> + <optional> + <ref name="copyright"/> + </optional> + <zeroOrMore> + <ref name="docrelation"/> + </zeroOrMore> + <zeroOrMore> + <ref name="series"/> + </zeroOrMore> + <optional> + <ref name="medium"/> + </optional> + <zeroOrMore> + <ref name="bplace"/> + </zeroOrMore> + <zeroOrMore> + <ref name="extent"/> + </zeroOrMore> + <zeroOrMore> + <ref name="accesslocation"/> + </zeroOrMore> + <optional> + <ref name="bclassification"/> + </optional> + <optional> + <ref name="validity"/> + </optional> + <optional> + <ref name="editorialgroup"/> + </optional> + <zeroOrMore> + <ref name="ics"/> + </zeroOrMore> + <optional> + <ref name="allParts"/> + </optional> + </define> + <define name="BibData"> + <optional> + <attribute name="type"> + <ref name="BibItemType"/> + </attribute> + </optional> + <oneOrMore> + <ref name="btitle"/> + </oneOrMore> + <optional> + <ref name="formattedref"/> + </optional> + <zeroOrMore> + <ref name="bsource"/> + </zeroOrMore> + <zeroOrMore> + <ref name="docidentifier"/> + </zeroOrMore> + <zeroOrMore> + <ref name="bdate"/> + </zeroOrMore> + <zeroOrMore> + <ref name="contributor"/> + </zeroOrMore> + <optional> + <ref name="edition"/> + </optional> + <zeroOrMore> + <ref name="biblionote"/> + </zeroOrMore> + <zeroOrMore> + <ref name="language"/> + </zeroOrMore> + <zeroOrMore> + <ref name="script"/> + </zeroOrMore> + <zeroOrMore> + <ref name="abstract"/> + </zeroOrMore> + <optional> + <ref name="status"/> + </optional> + <ref name="copyright"/> + <zeroOrMore> + <ref name="docrelation"/> + </zeroOrMore> + <zeroOrMore> + <ref name="series"/> + </zeroOrMore> + <optional> + <ref name="medium"/> + </optional> + <zeroOrMore> + <ref name="bplace"/> + </zeroOrMore> + <zeroOrMore> + <ref name="extent"/> + </zeroOrMore> + <zeroOrMore> + <ref name="accesslocation"/> + </zeroOrMore> + <optional> + <ref name="bclassification"/> + </optional> + <optional> + <ref name="validity"/> + </optional> + <ref name="editorialgroup"/> + <zeroOrMore> + <ref name="ics"/> + </zeroOrMore> + <optional> + <ref name="allParts"/> + </optional> + </define> + <define name="editorialgroup"> + <element name="editorialgroup"> + <oneOrMore> + <ref name="technical-committee"/> + </oneOrMore> + </element> + </define> + <define name="technical-committee"> + <element name="technical-committee"> + <optional> + <attribute name="type"/> + </optional> + <text/> + </element> </define> </include> <define name="pre"> <element name="pre"> <text/>