Skip to content

Commit

Permalink
allow eref and xref in sourcecode: metanorma/isodoc#531
Browse files Browse the repository at this point in the history
  • Loading branch information
opoudjis committed Sep 15, 2023
1 parent 3f6b390 commit 3240723
Show file tree
Hide file tree
Showing 3 changed files with 4 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 @@ -162,7 +162,7 @@ sourcecode =
attribute lang { text }?,
BlockAttributes,
attribute linenums { xsd:boolean }?,
tname?, ( text | callout )+, annotation*, note*
tname?, ( text | callout | xref | eref )+, annotation*, note*
}

formula =
Expand Down
2 changes: 2 additions & 0 deletions grammars/isodoc.rng
Original file line number Diff line number Diff line change
Expand Up @@ -484,6 +484,8 @@
<choice>
<text/>
<ref name="callout"/>
<ref name="xref"/>
<ref name="eref"/>
</choice>
</oneOrMore>
<zeroOrMore>
Expand Down
2 changes: 1 addition & 1 deletion grammars/relaton-models

0 comments on commit 3240723

Please sign in to comment.