author | joehw |
Wed, 28 Jan 2015 22:49:58 -0800 | |
changeset 28697 | fae50549d70d |
permissions | -rw-r--r-- |
28697
fae50549d70d
8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff
changeset
|
1 |
<?xml version="1.0" encoding="ISO-8859-1" ?> |
fae50549d70d
8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff
changeset
|
2 |
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> |
fae50549d70d
8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff
changeset
|
3 |
|
fae50549d70d
8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff
changeset
|
4 |
<!-- definition of simple elements --> |
fae50549d70d
8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff
changeset
|
5 |
<xs:element name="orderperson" type="xs:string"/> |
fae50549d70d
8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff
changeset
|
6 |
<xs:element name="name" type="xs:string"/> |
fae50549d70d
8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff
changeset
|
7 |
<xs:element name="address" type="xs:string"/> |
fae50549d70d
8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff
changeset
|
8 |
<xs:element name="city" type="xs:string"/> |
fae50549d70d
8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff
changeset
|
9 |
<xs:element name="country" type="xs:string"/> |
fae50549d70d
8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff
changeset
|
10 |
<xs:element name="title" type="xs:string"/> |
fae50549d70d
8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff
changeset
|
11 |
<xs:element name="note" type="xs:string"/> |
fae50549d70d
8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff
changeset
|
12 |
<xs:element name="quantity" type="xs:positiveInteger"/> |
fae50549d70d
8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff
changeset
|
13 |
<xs:element name="price" type="xs:decimal"/> |
fae50549d70d
8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff
changeset
|
14 |
|
fae50549d70d
8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff
changeset
|
15 |
<!-- definition of attributes --> |
fae50549d70d
8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff
changeset
|
16 |
<xs:attribute name="orderid" type="xs:string"/> |
fae50549d70d
8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff
changeset
|
17 |
|
fae50549d70d
8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff
changeset
|
18 |
<!-- definition of complex elements --> |
fae50549d70d
8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff
changeset
|
19 |
<xs:element name="shipto"> |
fae50549d70d
8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff
changeset
|
20 |
<xs:complexType> |
fae50549d70d
8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff
changeset
|
21 |
<xs:sequence> |
fae50549d70d
8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff
changeset
|
22 |
<xs:element ref="name"/> |
fae50549d70d
8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff
changeset
|
23 |
<xs:element ref="address"/> |
fae50549d70d
8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff
changeset
|
24 |
<xs:element ref="city"/> |
fae50549d70d
8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff
changeset
|
25 |
<xs:element ref="country"/> |
fae50549d70d
8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff
changeset
|
26 |
</xs:sequence> |
fae50549d70d
8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff
changeset
|
27 |
</xs:complexType> |
fae50549d70d
8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff
changeset
|
28 |
</xs:element> |
fae50549d70d
8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff
changeset
|
29 |
<xs:element name="item"> |
fae50549d70d
8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff
changeset
|
30 |
<xs:complexType> |
fae50549d70d
8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff
changeset
|
31 |
<xs:sequence> |
fae50549d70d
8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff
changeset
|
32 |
<xs:element ref="title"/> |
fae50549d70d
8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff
changeset
|
33 |
<xs:element ref="note" minOccurs="0"/> |
fae50549d70d
8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff
changeset
|
34 |
<xs:element ref="quantity"/> |
fae50549d70d
8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff
changeset
|
35 |
<xs:element ref="price"/> |
fae50549d70d
8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff
changeset
|
36 |
</xs:sequence> |
fae50549d70d
8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff
changeset
|
37 |
</xs:complexType> |
fae50549d70d
8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff
changeset
|
38 |
</xs:element> |
fae50549d70d
8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff
changeset
|
39 |
|
fae50549d70d
8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff
changeset
|
40 |
<xs:element name="shiporder"> |
fae50549d70d
8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff
changeset
|
41 |
<xs:complexType> |
fae50549d70d
8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff
changeset
|
42 |
<xs:sequence> |
fae50549d70d
8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff
changeset
|
43 |
<xs:element ref="orderperson"/> |
fae50549d70d
8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff
changeset
|
44 |
<xs:element ref="shipto"/> |
fae50549d70d
8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff
changeset
|
45 |
<xs:element ref="item" maxOccurs="unbounded"/> |
fae50549d70d
8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff
changeset
|
46 |
</xs:sequence> |
fae50549d70d
8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff
changeset
|
47 |
<xs:attribute ref="orderid" use="required"/> |
fae50549d70d
8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff
changeset
|
48 |
</xs:complexType> |
fae50549d70d
8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff
changeset
|
49 |
</xs:element> |
fae50549d70d
8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff
changeset
|
50 |
|
fae50549d70d
8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff
changeset
|
51 |
</xs:schema> |