source: icXML/icXML-devel/tests/src/XSTSHarness/regression/XERCESC-1707/test.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: 988 bytes
Line 
1<?xml version="1.0"?>
2<xsd:schema xmlns="http://www.openuri.org/mySchema" elementFormDefault="qualified" targetNamespace="http://www.openuri.org/mySchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
3        <xsd:element name="purchaseOrder" type="PurchaseOrderType"/>
4        <xsd:complexType name="PurchaseOrderType">
5                <xsd:sequence>
6                        <xsd:element name="shipTo" type="USAddress"/>
7                        <xsd:element name="billTo" type="USAddress"/>
8                </xsd:sequence>
9        </xsd:complexType>
10        <xsd:complexType name="USAddress">
11                <xsd:sequence>
12                        <xsd:element name="name" type="xsd:string"/>
13                        <xsd:element name="element_of_any_type"/>
14                </xsd:sequence>
15                <!-- declaration of this attribute is necessary to reproduce -->
16                <xsd:attribute fixed="US" name="country" type="xsd:NMTOKEN"/>
17        </xsd:complexType>
18        <xsd:simpleType name="USState">
19                <xsd:restriction base="xsd:string">
20                        <xsd:enumeration value="AK"/>
21                        <xsd:enumeration value="AL"/>
22                </xsd:restriction>
23        </xsd:simpleType>
24</xsd:schema>
Note: See TracBrowser for help on using the repository browser.