lib/metanorma/un/un.rng in metanorma-un-0.10.7 vs lib/metanorma/un/un.rng in metanorma-un-0.10.8
- old
+ new
@@ -1,8 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
-<grammar ns="https://www.metanorma.org/ns/un" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
+<grammar ns='https://www.metanorma.org/ns/un' xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
<!--
+ VERSION v1.2.1
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="relaton-un.rng"/>
@@ -207,16 +208,10 @@
</group>
</define>
</include>
<define name="un-standard">
<element name="un-standard">
- <attribute name="version"/>
- <attribute name="type">
- <choice>
- <value>semantic</value>
- <value>presentation</value>
- </choice>
- </attribute>
+ <ref name="Root-Attributes"/>
<ref name="bibdata"/>
<optional>
<ref name="misccontainer"/>
</optional>
<optional>