| TEST TYPE: |
Abstract tests for XML encoding |
| TEST GROUP: |
Explicit identification of namespaces in XML |
| TEST ID: |
http://wis.wmo.int/2012/metadata/conf/explicit-xml-namespace-identification |
| TEST PURPOSE: |
Requirement 6.2.1: Each WIS Discovery Metadata record shall explicitly name all namespaces used within the record; use of default namespaces is prohibited. |
| TEST METHOD: |
In the instance document under test inspect all ‘xmlns’ declarations to ensure that an XML namespace is provided; e.g.
| <gmd:MD_Metadata xmlns:gmd="http://www.isotc211.org/2005/gmd" … > |
The following ‘xmlns’ declaration is not permitted:
| <MD_Metadata xmlns:="http://www.isotc211.org/2005/gmd" … > |
|