libxml2 2.9.1 clean sources
[tomato.git] / release / src / router / libxml2 / test / schemas / src-attribute3-2-st_0.xsd
blobf256381f3aeeedf190b3df7cb8e94df69a790206
1 <?xml version="1.0" encoding="ISO-8859-1" ?>
2 <!-- 3.2.3 : 3.2
3 If ref is present, then all of <simpleType>, form and type must be absent
4 This one tests <simpleType>
5 -->
6 <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://foo" xmlns:foo="http://foo">
8 <element name="foo">
9 <complexType>
10 <attribute ref="foo:bar">
11 <simpleType>
12 <restriction base="string">
13 <maxLength value="20"/>
14 </restriction>
15 </simpleType>
16 </attribute>
17 </complexType>
18 </element>
20 <attribute name="bar" type="string" />
22 </schema>