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