Debian Codegraph @

tests/test_cases/features/namespaces/import-case2.xsd

raw
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3 An invalid import case: the default namespace is mapped to targetNamespace but
4 the imported chameleon schema still maps default namespace to no namespace.
5 -->
6 <xs:schema
7 xmlns:xs="http://www.w3.org/2001/XMLSchema"
8 xmlns="http://example.com/xmlschema/namespaces"
9 targetNamespace="http://example.com/xmlschema/namespaces"
10 elementFormDefault="qualified">
11
12 <xs:import schemaLocation="chameleon2.xsd"/>
13
14 <xs:simpleType name="rootType">
15 <xs:restriction base="xs:string"/>
16 </xs:simpleType>
17
18 </xs:schema>
19