Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 1.38 KB

A.12.IR12.srv.type.md

File metadata and controls

33 lines (21 loc) · 1.38 KB

#A.12.IR12.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

If the type of the resource is service, exactly one name describing the type of service must be given. The test first checks if a service type element is given at serviceType and if it is unique throughout 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.)

If the type of the resource was not service, this test is omitted.

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)
serviceType ./gmd:identificationInfo[1]/*/srv:serviceType