Debian Codegraph @

tests/test_cases/issues/issue_362/issue_362_1.xsd

raw
1 <!--
2 A test for export schemas with crossed imports/includes and additional failing remote imports.
3 -->
4 <xs:schema
5 xmlns:xs="http://www.w3.org/2001/XMLSchema"
6 xmlns:tns1="http://xmlschema.test/tns1"
7 xmlns:tns2="http://xmlschema.test/tns2"
8 targetNamespace="http://xmlschema.test/tns1">
9
10 <xs:include schemaLocation="./dir1/../dir1/issue_362_1.xsd"/>
11 <xs:import namespace="http://xmlschema.test/tns2" schemaLocation="http://xmlschema.test/tns2"/>
12 <xs:import namespace="http://xmlschema.test/tns2" schemaLocation="dir1/dir2/issue_362_2.xsd"/>
13
14 <xs:element name="root">
15 <xs:complexType>
16 <xs:sequence>
17 <xs:element ref="tns1:item1" />
18 <xs:element ref="tns2:item2" />
19 <xs:element ref="tns2:item3" />
20 </xs:sequence>
21 </xs:complexType>
22 </xs:element>
23
24 </xs:schema>
25