diff options
Diffstat (limited to 'libxml2/test/schemas/union2_1.xsd')
-rw-r--r-- | libxml2/test/schemas/union2_1.xsd | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/libxml2/test/schemas/union2_1.xsd b/libxml2/test/schemas/union2_1.xsd new file mode 100644 index 0000000..6d83726 --- /dev/null +++ b/libxml2/test/schemas/union2_1.xsd @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:test:foo"> + <xsd:element name="ELEMENTS"> + <xsd:simpleType> + <xsd:union> + <xsd:simpleType> + <xsd:restriction base="xsd:int"> + <xsd:minInclusive value="10"/> + <xsd:maxInclusive value="20"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType> + <xsd:restriction base="xsd:int"> + <xsd:minInclusive value="30"/> + <xsd:maxInclusive value="40"/> + </xsd:restriction> + </xsd:simpleType> + </xsd:union> + </xsd:simpleType> + </xsd:element> +</xsd:schema>
\ No newline at end of file |