blob: 8a752e2e38270a06856a1de84d58e6244d3bb5c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!-- This test checks the implementation of the varieties of the xsd:simpleType element. -->
<schema xmlns="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://FOO" xmlns:foo="http://FOO"
elementFormDefault="qualified">
<element name="foo">
<complexType>
<sequence maxOccurs="unbounded">
<element name="barA">
<simpleType>
<union memberTypes="foo:typeA foo:typeB"/>
</simpleType>
</element>
<element name="barB">
<simpleType>
<list itemType="foo:typeA"/>
</simpleType>
</element>
<element name="barC">
<simpleType>
<restriction base="string">
<enumeration value="tequilla"/>
</restriction>
</simpleType>
</element>
</sequence>
</complexType>
</element>
<simpleType name="typeA">
<restriction base="string">
<enumeration value="pub"/>
</restriction>
</simpleType>
<simpleType name="typeB">
<restriction base="string">
<enumeration value="fajita"/>
</restriction>
</simpleType>
</schema>
|