Hierarchy
Purpose: Checks that a resource type is provided
Prerequisites
Test method
Checks if a resource type (hierarchyLevel) is provided and is taken from the list of valid values, i.e. 'dataset', 'series' or 'service'.
Reference(s)
Test type: Automated
Notes
Contextual XPath references
The namespace prefixes used as described in README.md.
Abbreviation | XPath expression (relative to gmd:MD_Metadata) |
---|---|
hierarchyLevel | gmd:hierarchyLevel/gmd:MD_ScopeCode/@codeListValue |
valid values | doc(http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/codelist/gmxCodelists.xml)//gmx:CodeListDictionary[@gml:id='MD_ScopeCode']//gml:identifier/text() |