source: icXML/icXML-devel/tests/src/XSTSHarness/regression/XERCESC-977/boolean.xsd @ 2726

Last change on this file since 2726 was 2726, checked in by cameron, 7 years ago

Add original Xerces tests and samples directories

File size: 438 bytes
Line 
1<?xml version="1.0"?>
2<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
3
4        <xs:element name="BooleanunionPattern" type="booleanunionPattern"/>
5
6        <xs:simpleType name="booleanunion">
7                <xs:union memberTypes="xs:boolean xs:string"/>
8        </xs:simpleType>
9
10        <xs:simpleType name="booleanunionPattern">
11                <xs:restriction base="booleanunion">
12                        <xs:pattern value="1|true|good"/>
13                </xs:restriction>
14        </xs:simpleType>
15</xs:schema>
Note: See TracBrowser for help on using the repository browser.