Skip to content
Permalink
1.3
Go to file
 
 
Cannot retrieve contributors at this time
37 lines (22 sloc) 1.99 KB

Srv type

Purpose: If the type of the resource was service, exactly one name describing the type of service must be given.

Prerequisites

Test method

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.)

Reference(s)

Test type: Automated

Notes

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)
hierarchyLevel gmd:hierarchyLevel/gmd:MD_ScopeCode/@codeListValue
serviceType ./gmd:identificationInfo[1]/*/srv:serviceType
You can’t perform that action at this time.