Imported Upstream version 2.8.0
[platform/upstream/libxml2.git] / test / schemas / import2_0.xsd
1 <?xml version="1.0"?>
2 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
3         xmlns:foo="http://FOO"
4         targetNamespace="http://BAR"
5         elementFormDefault="qualified">
6
7         <xsd:import namespace="http://FOO" schemaLocation="import2_0.imp"/>
8
9         <xsd:simpleType name="fooType">
10                 <xsd:restriction base="xsd:string">
11                         <xsd:maxLength value="10"/>
12                 </xsd:restriction>
13         </xsd:simpleType>
14
15         <xsd:element name="bar">
16                 <xsd:complexType>
17                         <xsd:sequence>
18                                 <xsd:element ref="foo:foo" minOccurs="0"/>
19                         </xsd:sequence>
20                 </xsd:complexType>
21         </xsd:element>
22
23
24 </xsd:schema>