Purpose: If the type of the resource was service, exactly one name describing the type of service must be given.
This test case only applies to records with a hierarchyLevel value 'service'.
If the type of the resource is service, exactly one name describing the type of service must be given. First, a check is performed to establish whether the serviceType element occurs exactly once in the document. The test then checks if the element serviceType contains text that equals one of the types given in http://inspire.ec.europa.eu/metadata-codelist/SpatialDataServiceType (TG MD Chap. 1.3.1.)
- TG MD, 1.3.1 & 2.3.2, Req 12
Test type: Automated
The test method does not mention that the language independent codes should be used. TG MD 1.3.1 and 2.3.2 do say so.
The depencency to Hierarchy has not been implemented in the ETS as it still seems reasonable to test the available service metadata records.
##Contextual XPath references
The namespace prefixes used as described in README.md.
|Abbreviation||XPath expression (relative to gmd:MD_Metadata)|