summaryrefslogtreecommitdiff
path: root/test/schemas/element-err_0.xsd
blob: a5c696fe0c1aead44692ef424c8beb4613e086f7 (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
<?xml version="1.0"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
	targetNamespace="http://FOO"
	xmlns:foo="http://FOO"
	xmlns:goo="http://GOO">
	
	<xsd:element name="bar" type="xsd:string"/>
	<xsd:element type="xsd:string"/>
    <xsd:element name="foo" 
		ref="foo:bar" minOccurs="3" maxOccurs="2" 
		abstract="true" block="flute"
		form="qualified" id="b12" nillable="true" 
		substitutionGroup="foo:bar" 
		default="Jimi" fixed="Hendrix" final="fantasy">

		<xsd:complexType>
			<xsd:sequence>
				<xsd:element ref="foo:bar" name="myomy" minOccurs="3" 
					maxOccurs="2" abstract="true" block="flute"
					form="qualified" id="b12" nillable="true" 
					substitutionGroup="foo:bar" type="xsd:string" 
					default="Jimi" fixed="Hendrix" final="fantasy">
					<xsd:complexType/>
					<xsd:simpleType/>
				</xsd:element>
				<xsd:element name="myomy" maxOccurs="0"
					abstract="true" block="flute"
					form="qualified" id="b12" nillable="true" 
					substitutionGroup="foo:bar" type="xsd:string" 
					default="Jimi" fixed="Hendrix" final="fantasy">
					<xsd:complexType/>
					<xsd:simpleType/>
				</xsd:element>
			</xsd:sequence>
		</xsd:complexType>

	</xsd:element>

</xsd:schema>