tests/test_cases/features/namespaces/default_ns_invalid.xsd
raw| 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | An invalid usage of the default namespace: it isn't mapped to targetNamespace. |
| 4 | --> |
| 5 | <xs:schema |
| 6 | xmlns:xs="http://www.w3.org/2001/XMLSchema" |
| 7 | targetNamespace="http://example.com/xmlschema/namespaces" |
| 8 | elementFormDefault="qualified"> |
| 9 | |
| 10 | <xs:element name="root" type="rootType"/> |
| 11 | |
| 12 | <xs:simpleType name="rootType"> |
| 13 | <xs:restriction base="xs:string"/> |
| 14 | </xs:simpleType> |
| 15 | |
| 16 | </xs:schema> |
| 17 |