lib/asciidoctor/gb/biblio.rng in asciidoctor-gb-0.2.4 vs lib/asciidoctor/gb/biblio.rng in asciidoctor-gb-0.2.5
- old
+ new
@@ -487,17 +487,33 @@
<value>confirmed</value>
<value>updated</value>
<value>issued</value>
</choice>
</attribute>
+ <!-- ( ( bfrom, bto? ) | date_on ) -->
<choice>
<group>
- <ref name="bfrom"/>
+ <element name="from">
+ <choice>
+ <data type="gYear"/>
+ <data type="date"/>
+ </choice>
+ </element>
<optional>
- <ref name="bto"/>
+ <element name="to">
+ <choice>
+ <data type="gYear"/>
+ <data type="date"/>
+ </choice>
+ </element>
</optional>
</group>
- <ref name="date_on"/>
+ <element name="on">
+ <choice>
+ <data type="gYear"/>
+ <data type="date"/>
+ </choice>
+ </element>
</choice>
</element>
</define>
<define name="bfrom">
<element name="from">