Skip to content

Latest commit

 

History

History
37 lines (22 loc) · 1.46 KB

at46-getcapabilities-layer-style-title-and-name.md

File metadata and controls

37 lines (22 loc) · 1.46 KB

Layer Style Title and Name

Purpose: Test that each style has a human-readable name mapped to Title element and a unique identifier mapped to Name element.

Prerequisites

Test method

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

    • For each Style element in each Layer element:

      • Check that exactly one Title element exists and it is a non-empty value.

      • Check that exactly one Style Name element exists and it is a non-emtpy value.

        • Check that the Style Name is unique within the style elements of the layer.

Reference(s):

  • TG VS, Chapter 4.2.3.3.4.8, Requirement 46

Test type: Automated

Notes

The multiplicity of Title and Style Name is 1 in each style.

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
Style wms:Capability/*/wms:Layer/wms:Style
Title wms:Capability/*/wms:Layer/wms:Style/wms:Title
Style Name wms:Capability/*/wms:Layer/wms:Style/wms:Name