summaryrefslogtreecommitdiff
path: root/test/schemas/anyAttr-derive2_0.xsd
blob: 3a74d68160119fabc6de21bd21bcc34d40348011 (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" encoding="ISO-8859-1" ?>
<!-- 
-->
<schema xmlns="http://www.w3.org/2001/XMLSchema" 
	targetNamespace="http://FOO" 
	xmlns:foo="http://FOO" elementFormDefault="qualified" attributeFormDefault="qualified">
	
	<element name="foo">
		<complexType>
			<complexContent>
				<extension base="foo:type.A">				  	  			
					<anyAttribute namespace="http://DOO" processContents="skip"/>
				</extension>
			</complexContent>
		</complexType>    
	</element>  

	<complexType name="type.A">		
		<attributeGroup ref="foo:attrGr.A_1"/>
		<attributeGroup ref="foo:attrGr.A_2"/>
		<anyAttribute namespace="http://FOO" processContents="skip"/>
	</complexType>

	<attributeGroup name="attrGr.A_1">
		<anyAttribute namespace="http://FOO http://BOO" processContents="skip"/>
	</attributeGroup>

	<attributeGroup name="attrGr.A_2">
		<anyAttribute namespace="http://BAR http://DOO http://FOO" processContents="skip"/>
	</attributeGroup>


</schema>