Skip to content

Commit

Permalink
version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
opoudjis committed Feb 21, 2022
1 parent 3542d4d commit 40ddd3b
Show file tree
Hide file tree
Showing 2 changed files with 74 additions and 4 deletions.
76 changes: 73 additions & 3 deletions lib/metanorma/cc/isodoc.rng
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,7 @@
<data type="boolean"/>
</attribute>
</optional>
<oneOrMore>
<ref name="PureTextElement"/>
</oneOrMore>
<ref name="XrefBody"/>
</element>
</define>
<define name="erefType">
Expand Down Expand Up @@ -188,6 +186,42 @@
<ref name="PureTextElement"/>
</oneOrMore>
</define>
<define name="localityStack">
<element name="localityStack">
<optional>
<attribute name="connective">
<choice>
<value>and</value>
<value>or</value>
<value>from</value>
<value>to</value>
<value/>
</choice>
</attribute>
</optional>
<zeroOrMore>
<ref name="locality"/>
</zeroOrMore>
</element>
</define>
<define name="sourceLocalityStack">
<element name="sourceLocalityStack">
<optional>
<attribute name="connective">
<choice>
<value>and</value>
<value>or</value>
<value>from</value>
<value>to</value>
<value/>
</choice>
</attribute>
</optional>
<zeroOrMore>
<ref name="sourceLocality"/>
</zeroOrMore>
</element>
</define>
<define name="ul">
<element name="ul">
<attribute name="id">
Expand Down Expand Up @@ -1098,6 +1132,16 @@
</define>
</include>
<!-- end overrides -->
<define name="image" combine="choice">
<element name="svg">
<oneOrMore>
<choice>
<text/>
<ref name="AnyElement"/>
</choice>
</oneOrMore>
</element>
</define>
<define name="MultilingualRenderingType">
<choice>
<value>common</value>
Expand Down Expand Up @@ -2631,4 +2675,30 @@
</zeroOrMore>
</element>
</define>
<define name="XrefBody">
<zeroOrMore>
<ref name="XrefTarget"/>
</zeroOrMore>
<oneOrMore>
<ref name="PureTextElement"/>
</oneOrMore>
</define>
<define name="XrefTarget">
<element name="location">
<attribute name="target">
<data type="string">
<param name="pattern">\i\c*|\c+#\c+</param>
</data>
</attribute>
<attribute name="connective">
<choice>
<value>and</value>
<value>or</value>
<value>from</value>
<value>to</value>
<value/>
</choice>
</attribute>
</element>
</define>
</grammar>
2 changes: 1 addition & 1 deletion lib/metanorma/cc/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Metanorma
module CC
VERSION = "2.0.3".freeze
VERSION = "2.0.4".freeze
end
end

0 comments on commit 40ddd3b

Please sign in to comment.