Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 2.16 KB

A.06.IR511.TGR6.linkToMetadataForTheService.md

File metadata and controls

37 lines (25 loc) · 2.16 KB

Provide a link to the metadata record for the Download Service

Purpose:

The Download Service feed must provide a link to a metadata record, that describes the Download Service. The link must be at the feed-level and have a "rel" attribute of "describedby" and "type" attribute of "application/xml" or "application/vnd.ogc.csw.GetRecordByIdResponse_xml".

Test method

Reference(s):

  • IR NS, M1, section 2.2.1, Download Service Metadata parameter
  • TG DL, Req 6
  • IR MD, section 2.2.4

Test type: Automated

Notes

Note 2: the INSPIRE language request parameters in the Resource Locator to the Atom Download Service Feed URLs must be ignored in the comparison.

Contextual XPath references

The namespace prefixes used as described in README.md.

Abbreviation XPath expression
describedby link /atom:feed/atom:link[@rel='describedby' and (@type='application/xml' or @type='application/vnd.ogc.csw.GetRecordByIdResponse_xml')]/@href
gmd:MD_Metadata element /gmd:MD_Metadata
Resource Locator //gmd:distributionInfo/*/gmd:transferOptions/*/gmd:onLine/*/gmd:linkage