2 <!-- This one tests the document access strategy for <import> -->
3 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
4 targetNamespace="http://FOO"
7 elementFormDefault="qualified">
8 <xsd:import namespace="http://BAR" />
10 <!-- This document does not exist. -->
11 <xsd:import namespace="http://BAR" schemaLocation="import1_0bc.imp" />
12 <!-- This document is ok. -->
13 <xsd:import namespace="http://BAR" schemaLocation="import1_0.imp" />
14 <!-- This document will be skipped, since a schema for the namespace
15 "http://BAR" was already imported. -->
16 <xsd:import namespace="http://BAR" schemaLocation="import1_0b.imp" />
19 <xsd:element name="foo">
22 <xsd:element name="bar"/>
23 <xsd:element ref="bar:bar.A"/>
24 <!-- The reference cannot be resolved since
25 "import1_0b.imp" was skipped -->
26 <xsd:element ref="bar:bar.B"/>