From 3240723c5ca8db683ecdc1032fb46c540653ecf3 Mon Sep 17 00:00:00 2001 From: Nick Nicholas Date: Fri, 15 Sep 2023 20:58:39 +1000 Subject: [PATCH] allow eref and xref in sourcecode: https://github.com/metanorma/isodoc/issues/531 --- grammars/isodoc.rnc | 2 +- grammars/isodoc.rng | 2 ++ grammars/relaton-models | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/grammars/isodoc.rnc b/grammars/isodoc.rnc index 26d0ad7..aeb4420 100644 --- a/grammars/isodoc.rnc +++ b/grammars/isodoc.rnc @@ -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 = diff --git a/grammars/isodoc.rng b/grammars/isodoc.rng index 2b1d1ee..ea74ded 100644 --- a/grammars/isodoc.rng +++ b/grammars/isodoc.rng @@ -484,6 +484,8 @@ + + diff --git a/grammars/relaton-models b/grammars/relaton-models index d7115ee..64718de 160000 --- a/grammars/relaton-models +++ b/grammars/relaton-models @@ -1 +1 @@ -Subproject commit d7115ee43416a2d3bd0b050cda687504282f247e +Subproject commit 64718de5b6858cbd07f617dd7365bb972d84c453