Fix indicative gschema.dtd regarding range.

The range can have only a "min" or only a "max" attribute, and can even have no attributes at all.
This commit is contained in:
Arnaud B 2018-08-13 08:19:57 +00:00
parent ef45c909db
commit 438547641f

View File

@ -49,8 +49,8 @@
<!ELEMENT range EMPTY >
<!-- min and max must be parseable as values of the key type and
min must be less than or equal to max -->
<!ATTLIST range min CDATA #REQUIRED
max CDATA #REQUIRED >
<!ATTLIST range min CDATA #IMPLIED
max CDATA #IMPLIED >
<!-- choices is only allowed for keys with string or string array type -->
<!ELEMENT choices (choice+) >