Skip to content

Commit

Permalink
allow amend/localityStack: 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 e21d3fe commit c87be3e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion grammars/isodoc.rnc
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,7 @@ amend =
attribute path_end { text }?,
attribute title { text }?,
BlockAttributes,
element location { locality* }?,
element location { (locality | localityStack)* }?,
autonumber*,
element description { BasicBlock* }?,
element newcontent {
Expand Down
5 changes: 4 additions & 1 deletion grammars/isodoc.rng
Original file line number Diff line number Diff line change
Expand Up @@ -2346,7 +2346,10 @@
<optional>
<element name="location">
<zeroOrMore>
<ref name="locality"/>
<choice>
<ref name="locality"/>
<ref name="localityStack"/>
</choice>
</zeroOrMore>
</element>
</optional>
Expand Down

0 comments on commit c87be3e

Please sign in to comment.