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