Skip to content

Latest commit

 

History

History
41 lines (25 loc) · 1.76 KB

A.08.IR03.ds.linkage.md

File metadata and controls

41 lines (25 loc) · 1.76 KB

#A.08.IR03.ds.linkage

Purpose: If a linkage is available, a resource locator must be given. If the resource is a service, the linkage should be checked.

Prerequisites

Test method

The test first checks if a linkage is provided. If none is given, the test will complete successfully.

If one or more are provided. For each linkage the test checks if the linkage element contains an element of type gmd:URL.

The URL is resolved.

If the response indicates a linkage is a service capabilities or WSDL document, some basic params in the service response are analysed. Else a final manual test is suggested to the tester (to test if any of the linkages points to a webpage with further instructions or a client application that directly accesses the service).

Any service response should be checked if it provides proper linkage. The service wsdl or capabilities document should have a featuretype that shares the resource unique identification

if WMS/WMTS/WFS, the link is in //layer[identifier={id}&&@authority={codespace}] if Atom, the link is in //feed[@uuidhref={id}&&@namespace={codespace}]

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)
Online gmd:distributionInfo//gmd:transferOptions//gmd:onLine/*