lib/asciidoctor/vsd/vsd.rng in metanorma-vsd-0.5.9 vs lib/asciidoctor/vsd/vsd.rng in metanorma-vsd-0.5.10
- old
+ new
@@ -1,55 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
-<grammar xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
+<grammar xmlns="http://relaxng.org/ns/structure/1.0">
<!--
Currently we inherit from a namespaced grammar, isostandard. Until we inherit from isodoc,
we cannot have a new default namespace: we will end up with a grammar with two different
namespaces, one for isostandard and one for csand additions. And we do not want that.
-->
- <include href="isostandard.rng">
+ <include href="isodoc.rng">
<start>
<ref name="rsd-standard"/>
</start>
- <define name="figure">
- <element name="figure">
- <attribute name="id">
- <data type="ID"/>
- </attribute>
- <optional>
- <ref name="tname"/>
- </optional>
- <choice>
- <ref name="image"/>
- <ref name="pre"/>
- <oneOrMore>
- <ref name="subfigure"/>
- </oneOrMore>
- </choice>
- <zeroOrMore>
- <ref name="fn"/>
- </zeroOrMore>
- <optional>
- <ref name="dl"/>
- </optional>
- <zeroOrMore>
- <ref name="note"/>
- </zeroOrMore>
- </element>
- </define>
- <define name="subfigure">
- <element name="figure">
- <attribute name="id">
- <data type="ID"/>
- </attribute>
- <optional>
- <ref name="tname"/>
- </optional>
- <choice>
- <ref name="image"/>
- <ref name="pre"/>
- </choice>
- </element>
- </define>
<define name="DocumentType">
<choice>
<value>policy-and-procedures</value>
<value>best-practices</value>
<value>supporting-document</value>