summaryrefslogtreecommitdiff
path: root/test/schemas/any4_0.xsd
blob: fa935770eae57e7f4b338a35922bcf98b40b3898 (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
<?xml version="1.0"?>
<xsd:schema 
	xmlns:xsd="http://www.w3.org/2001/XMLSchema"
	targetNamespace="http://FOO"
	xmlns:foo="http://FOO">		

	<xsd:element name="boo">
		<xsd:complexType>
			<xsd:attribute name="booAttr" type="xsd:integer" />
		</xsd:complexType>
	</xsd:element>

	<xsd:element name="foo">
		<xsd:complexType>
			<xsd:choice>
				<xsd:any namespace="http://FOO" processContents="lax" maxOccurs="1"/>
				<xsd:element name="anything" form="qualified">
					<xsd:complexType>
						<xsd:sequence>
							<xsd:element ref="foo:boo"/>
						</xsd:sequence>
					</xsd:complexType>
				</xsd:element>
			</xsd:choice>
		</xsd:complexType>
	</xsd:element>
	
</xsd:schema>