summaryrefslogtreecommitdiffstats
path: root/libxml2/test/schemas/cos-st-restricts-1-2-err_0.xsd
blob: 9d3fabff213603e5348a2cd7a3a5fa196b74379b (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
<?xml version="1.0" encoding="ISO-8859-1"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema" 
	targetNamespace="http://FOO" xmlns:foo="http://FOO">

	<element name="foo" type="foo:type.A"/>

	<simpleType name="type.A">
		<restriction>
			<simpleType>
				<list itemType="integer"/>			
			</simpleType>
			<length value="3"/>
		</restriction>
	</simpleType>

	<!--restriction base="foo:type.base.A">
			
	</restriction-->

	<simpleType name="type.base.A">
		<restriction>
			<simpleType>
				<list itemType="integer"/>				
			</simpleType>
		</restriction>
	</simpleType>

	

</schema>