Imported Upstream version 2.8.0
[platform/upstream/libxml2.git] / test / schemas / element-err_0.xsd
1 <?xml version="1.0"?>
2 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
3         targetNamespace="http://FOO"
4         xmlns:foo="http://FOO"
5         xmlns:goo="http://GOO">
6         
7         <xsd:element name="bar" type="xsd:string"/>
8         <xsd:element type="xsd:string"/>
9     <xsd:element name="foo" 
10                 ref="foo:bar" minOccurs="3" maxOccurs="2" 
11                 abstract="true" block="flute"
12                 form="qualified" id="b12" nillable="true" 
13                 substitutionGroup="foo:bar" 
14                 default="Jimi" fixed="Hendrix" final="fantasy">
15
16                 <xsd:complexType>
17                         <xsd:sequence>
18                                 <xsd:element ref="foo:bar" name="myomy" minOccurs="3" 
19                                         maxOccurs="2" abstract="true" block="flute"
20                                         form="qualified" id="b13" nillable="true" 
21                                         substitutionGroup="foo:bar" type="xsd:string" 
22                                         default="Jimi" fixed="Hendrix" final="fantasy">
23                                         <xsd:complexType/>
24                                         <xsd:simpleType/>
25                                 </xsd:element>
26                                 <xsd:element name="myomy" maxOccurs="0"
27                                         abstract="true" block="flute"
28                                         form="qualified" id="b14" nillable="true" 
29                                         substitutionGroup="foo:bar" type="xsd:string" 
30                                         default="Jimi" fixed="Hendrix" final="fantasy">
31                                         <xsd:complexType/>
32                                         <xsd:simpleType/>
33                                 </xsd:element>
34                         </xsd:sequence>
35                 </xsd:complexType>
36
37         </xsd:element>
38
39 </xsd:schema>