Skip to content

Latest commit

 

History

History
47 lines (27 loc) · 1.85 KB

at38-getcapabilities-layer-authority-url.md

File metadata and controls

47 lines (27 loc) · 1.85 KB

Layer Authority URL

Purpose: Test that AuthorityURL and Identifier elements are used.

Prerequisites

Test method

  • Send a getCapabilities request to the service endpoint. Into the response:

  • For each AuthorityURL element

    • Check that the "name" attribute exists and the explanatory URL is given as an OnlineResource within the AuthorityURL element.
  • For each Layer element:

    • For each AuthorityURL element given in the node itself or in the parents layers elements.

      • Check that authority name has not be defined previously.
    • Check that the "authority" attribute of Identifier element matches with the AuthorityURL name declared in the parents layers or in the layer itself.

  • For each Identifier element:

    • Check that the Identifier element is unique for its authority.

Reference(s):

  • TG VS, Chapter 4.2.3.3.4.5, Requirement 38

Test type: Automated

Notes

The multiplicity of AuthorityURL is 0 or more.

The multiplicity of Identifier is 0 or more.

Contextual XPath references

The namespace prefixes used as described in README.md.

Abbreviation XPath expression (relative to /wms:WMS_Capabilities)
Layer wms:Capability/*/wms:Layer
AuthorityURL wms:Capability/*/wms:Layer/AuthorityURL
OnlineResource wms:Capability/*/wms:Layer/AuthorityURL/OnlineResource
Identifier wms:Capability/*/wms:Layer/wms:Identifier