blob: 286f63a3c03454364d5d898e2b216564e5b1b703 (
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">
<!-- Test various ref constructs. -->
<complexType name="type">
<sequence>
<element ref="t:ebar"/>
<group ref="t:eg"/>
</sequence>
<attribute ref="t:abar"/>
<attributeGroup ref="t:ag"/>
</complexType>
<group name="eg">
<choice>
<element name="efoo" type="string">
<annotation>
<documentation>group element efoo documentation</documentation>
</annotation>
</element>
<element ref="t:ebar"/>
</choice>
</group>
<element name="ebar" type="string">
<annotation>
<documentation>global element ebar documentation</documentation>
</annotation>
</element>
<attributeGroup name="ag">
<attribute name="afoo" type="string">
<annotation>
<documentation>group attribute afoo documentation</documentation>
</annotation>
</attribute>
<attribute ref="t:abaz"/>
</attributeGroup>
<attribute name="abar" type="string">
<annotation>
<documentation>global attribute abar documentation</documentation>
</annotation>
</attribute>
<attribute name="abaz" type="string">
<annotation>
<documentation>global attribute abaz documentation</documentation>
</annotation>
</attribute>
</schema>
|