lib/asciidoctor/un/basicdoc.rng in metanorma-un-0.5.2 vs lib/asciidoctor/un/basicdoc.rng in metanorma-un-0.5.3
- old
+ new
@@ -156,11 +156,21 @@
<element name="note">
<attribute name="id">
<data type="ID"/>
</attribute>
<oneOrMore>
- <ref name="paragraph"/>
+ <choice>
+ <ref name="formula"/>
+ <ref name="ul"/>
+ <ref name="ol"/>
+ <ref name="dl"/>
+ <ref name="quote"/>
+ <ref name="sourcecode"/>
+ <ref name="paragraph"/>
+ <ref name="table"/>
+ <ref name="figure"/>
+ </choice>
</oneOrMore>
</element>
</define>
<define name="review">
<element name="review">
@@ -400,10 +410,20 @@
<value>right</value>
<value>center</value>
</choice>
</attribute>
</optional>
+ <optional>
+ <attribute name="valign">
+ <choice>
+ <value>top</value>
+ <value>middle</value>
+ <value>bottom</value>
+ <value>baseline</value>
+ </choice>
+ </attribute>
+ </optional>
<choice>
<zeroOrMore>
<ref name="TextElement"/>
</zeroOrMore>
<oneOrMore>
@@ -424,9 +444,19 @@
<attribute name="align">
<choice>
<value>left</value>
<value>right</value>
<value>center</value>
+ </choice>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="valign">
+ <choice>
+ <value>top</value>
+ <value>middle</value>
+ <value>bottom</value>
+ <value>baseline</value>
</choice>
</attribute>
</optional>
<choice>
<zeroOrMore>