libxml2 2.9.1 clean sources
[tomato.git] / release / src / router / libxml2 / test / schemas / src-element3_0.xsd
blob28b69d8eee239f41d36e62a09411e8ae10d57d2f
1 <?xml version="1.0" encoding="ISO-8859-1" ?>
2 <!-- 3.2.3 : 3
3 type and either <simpleType> or <complexType> are mutually exclusive
4 -->
5 <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://foo" xmlns:foo="http://foo">
7 <element name="foo" type="foo:someType">
8 <complexType>
9 <sequence>
10 <element name="bar" type="string"/>
11 </sequence>
12 </complexType>
13 </element>
15 <element name="bar" type="foo:someType">
16 <simpleType>
17 <restriction base="string">
18 <maxLength value="20"/>
19 </restriction>
20 </simpleType>
21 </element>
23 <complexType name="someType">
24 <sequence>
25 <element name="bar" type="string"/>
26 </sequence>
27 </complexType>
29 </schema>