Skip to content

Commit

Permalink
Version attribute as optional
Browse files Browse the repository at this point in the history
Changed version attribute as optional and it accepts an NMTOKEN as value besides the current schema version number
  • Loading branch information
acampagnolo committed Jul 13, 2021
1 parent 0f20838 commit dbf6ef8
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions data/schemas/viscoll-datamodel2.0.rng
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,14 @@
datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
<start>
<element name="viscoll">
<attribute name="version">
<value>2.1.0</value>
</attribute>
<optional>
<attribute name="version">
<choice>
<value>2.0.0</value>
<data type="NMTOKEN"/>
</choice>
</attribute>
</optional>
<oneOrMore>
<documentation xmlns="http://relaxng.org/ns/compatibility/annotations/1.0">On
viscoll document may contain multiple textblock elements</documentation>
Expand Down

0 comments on commit dbf6ef8

Please sign in to comment.