Skip to content

Commit

Permalink
amend added to bibdata for errata: metanorma/metanorma-bsi#286
Browse files Browse the repository at this point in the history
  • Loading branch information
opoudjis committed Jan 2, 2024
1 parent 5b1af6a commit e67838f
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 31 deletions.
3 changes: 2 additions & 1 deletion grammars/biblio-standoc.rnc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ include "biblio.rnc" {
BibData =
StandardBibliographicItem,
ext?
}

docrelation =
element relation {
Expand All @@ -20,6 +19,8 @@ docrelation =
(sourceLocality* | sourceLocalityStack*)
}

}

ext =
element ext { BibDataExtensionType }

Expand Down
60 changes: 30 additions & 30 deletions grammars/biblio-standoc.rng
Original file line number Diff line number Diff line change
Expand Up @@ -14,38 +14,38 @@
<ref name="ext"/>
</optional>
</define>
</include>
<define name="docrelation">
<element name="relation">
<attribute name="type">
<ref name="DocRelationType"/>
</attribute>
<optional>
<element name="description">
<ref name="FormattedString"/>
<define name="docrelation">
<element name="relation">
<attribute name="type">
<ref name="DocRelationType"/>
</attribute>
<optional>
<element name="description">
<ref name="FormattedString"/>
</element>
</optional>
<element name="bibitem">
<ref name="StandardReducedBibliographicItem"/>
</element>
</optional>
<element name="bibitem">
<ref name="StandardReducedBibliographicItem"/>
<choice>
<zeroOrMore>
<ref name="locality"/>
</zeroOrMore>
<zeroOrMore>
<ref name="localityStack"/>
</zeroOrMore>
</choice>
<choice>
<zeroOrMore>
<ref name="sourceLocality"/>
</zeroOrMore>
<zeroOrMore>
<ref name="sourceLocalityStack"/>
</zeroOrMore>
</choice>
</element>
<choice>
<zeroOrMore>
<ref name="locality"/>
</zeroOrMore>
<zeroOrMore>
<ref name="localityStack"/>
</zeroOrMore>
</choice>
<choice>
<zeroOrMore>
<ref name="sourceLocality"/>
</zeroOrMore>
<zeroOrMore>
<ref name="sourceLocalityStack"/>
</zeroOrMore>
</choice>
</element>
</define>
</define>
</include>
<define name="ext">
<element name="ext">
<ref name="BibDataExtensionType"/>
Expand Down

0 comments on commit e67838f

Please sign in to comment.