blob: c6059afcb3160a6a95b4ea7b7b8cecd673b2fb73 (
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
|
<?xml version="1.0"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:t="test" targetNamespace="test">
<!-- Recursive reference: g1->element->type->g1 -->
<complexType name="type">
<sequence>
<group ref="t:g1"/>
</sequence>
</complexType>
<group name="g1">
<choice>
<element name="foo">
<complexType>
<sequence>
<group ref="t:g1"/>
</sequence>
</complexType>
</element>
<element ref="t:bar"/>
</choice>
</group>
<element name="bar">
<complexType>
<sequence>
<group ref="t:g1"/>
</sequence>
</complexType>
</element>
</schema>
|