blob: e008709b8fb7ea95e43c5257e66065c2f9d45ac9 (
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
46
47
48
49
50
51
52
53
|
<?xml version="1.0"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:t="test" targetNamespace="test">
<simpleType name="t1">
<restriction base="string">
<pattern value="foo.*baz"/>
</restriction>
</simpleType>
<simpleType name="t2">
<restriction base="string">
<pattern value="([123]+,)+"/>
</restriction>
</simpleType>
<simpleType name="t3">
<restriction base="string">
<pattern value="[1-9]*"/>
</restriction>
</simpleType>
<simpleType name="t4">
<restriction base="string">
<pattern value="\d+"/>
</restriction>
</simpleType>
<simpleType name="t5">
<restriction base="string">
<pattern value="\s+"/>
</restriction>
</simpleType>
<simpleType name="t6">
<restriction base="string">
<pattern value="\w+"/>
</restriction>
</simpleType>
<complexType name="type">
<sequence>
<element name="t1" type="t:t1" maxOccurs="unbounded"/>
<element name="t2" type="t:t2" maxOccurs="unbounded"/>
<element name="t3" type="t:t3" maxOccurs="unbounded"/>
<element name="t4" type="t:t4" maxOccurs="unbounded"/>
<element name="t5" type="t:t5" maxOccurs="unbounded"/>
<element name="t6" type="t:t6" maxOccurs="unbounded"/>
</sequence>
</complexType>
<element name="root" type="t:type"/>
</schema>
|