lib/asciidoctor/un/basicdoc.rng in metanorma-un-0.6.12 vs lib/asciidoctor/un/basicdoc.rng in metanorma-un-0.6.13
- old
+ new
@@ -622,28 +622,39 @@
<element name="em">
<zeroOrMore>
<choice>
<ref name="PureTextElement"/>
<ref name="stem"/>
+ <ref name="eref"/>
+ <ref name="xref"/>
+ <ref name="hyperlink"/>
</choice>
</zeroOrMore>
</element>
</define>
<define name="strong">
<element name="strong">
<zeroOrMore>
<choice>
<ref name="PureTextElement"/>
<ref name="stem"/>
+ <ref name="eref"/>
+ <ref name="xref"/>
+ <ref name="hyperlink"/>
</choice>
</zeroOrMore>
</element>
</define>
<define name="tt">
<element name="tt">
<zeroOrMore>
- <ref name="PureTextElement"/>
+ <choice>
+ <ref name="PureTextElement"/>
+ <ref name="eref"/>
+ <ref name="xref"/>
+ <ref name="hyperlink"/>
+ </choice>
</zeroOrMore>
</element>
</define>
<define name="keyword">
<element name="keyword">
@@ -820,11 +831,13 @@
</attribute>
<optional>
<attribute name="alt"/>
</optional>
<ref name="CitationType"/>
- <text/>
+ <oneOrMore>
+ <ref name="PureTextElement"/>
+ </oneOrMore>
</define>
<define name="hyperlink">
<element name="link">
<attribute name="target">
<data type="anyURI"/>
@@ -833,11 +846,13 @@
<ref name="ReferenceFormat"/>
</attribute>
<optional>
<attribute name="alt"/>
</optional>
- <text/>
+ <oneOrMore>
+ <ref name="PureTextElement"/>
+ </oneOrMore>
</element>
</define>
<define name="xref">
<element name="xref">
<attribute name="target">
@@ -847,10 +862,12 @@
<ref name="ReferenceFormat"/>
</attribute>
<optional>
<attribute name="alt"/>
</optional>
- <text/>
+ <oneOrMore>
+ <ref name="PureTextElement"/>
+ </oneOrMore>
</element>
</define>
<define name="fn">
<element name="fn">
<attribute name="reference"/>