config.xsd: adapt Boolean type to ascii_to(bool)

Harmonize the set of allowed values with the implementation of ascii_to for
bool.

Issue #2815
This commit is contained in:
Martin Stein 2018-05-04 13:53:03 +02:00 committed by Christian Helmuth
parent 14482146c5
commit cea22866a8
4 changed files with 8 additions and 8 deletions

View File

@ -5,10 +5,10 @@
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:enumeration value="true" /> <xs:enumeration value="true" />
<xs:enumeration value="yes" /> <xs:enumeration value="yes" />
<xs:enumeration value="1" /> <xs:enumeration value="on" />
<xs:enumeration value="false" /> <xs:enumeration value="false" />
<xs:enumeration value="no" /> <xs:enumeration value="no" />
<xs:enumeration value="0" /> <xs:enumeration value="off" />
</xs:restriction> </xs:restriction>
</xs:simpleType><!-- Boolean --> </xs:simpleType><!-- Boolean -->

View File

@ -5,10 +5,10 @@
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:enumeration value="true" /> <xs:enumeration value="true" />
<xs:enumeration value="yes" /> <xs:enumeration value="yes" />
<xs:enumeration value="1" /> <xs:enumeration value="on" />
<xs:enumeration value="false" /> <xs:enumeration value="false" />
<xs:enumeration value="no" /> <xs:enumeration value="no" />
<xs:enumeration value="0" /> <xs:enumeration value="off" />
</xs:restriction> </xs:restriction>
</xs:simpleType><!-- Boolean --> </xs:simpleType><!-- Boolean -->

View File

@ -12,10 +12,10 @@
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:enumeration value="true" /> <xs:enumeration value="true" />
<xs:enumeration value="yes" /> <xs:enumeration value="yes" />
<xs:enumeration value="1" /> <xs:enumeration value="on" />
<xs:enumeration value="false" /> <xs:enumeration value="false" />
<xs:enumeration value="no" /> <xs:enumeration value="no" />
<xs:enumeration value="0" /> <xs:enumeration value="off" />
</xs:restriction> </xs:restriction>
</xs:simpleType><!-- Boolean --> </xs:simpleType><!-- Boolean -->

View File

@ -5,10 +5,10 @@
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:enumeration value="true" /> <xs:enumeration value="true" />
<xs:enumeration value="yes" /> <xs:enumeration value="yes" />
<xs:enumeration value="1" /> <xs:enumeration value="on" />
<xs:enumeration value="false" /> <xs:enumeration value="false" />
<xs:enumeration value="no" /> <xs:enumeration value="no" />
<xs:enumeration value="0" /> <xs:enumeration value="off" />
</xs:restriction> </xs:restriction>
</xs:simpleType><!-- Boolean --> </xs:simpleType><!-- Boolean -->