Purpose: Test that a legend is provided into LegendURL element for each style and supported language defined in the View Service.
Prerequisites
Test method
-
Send one getCapabilities request to the service endpoint for each supported language. Each request has its corresponding language parameter. Into each response:
-
Check manually that the provided legend is in the correct language.
Reference(s):
- TG VS, Chapter 4.2.3.3.4.8 and 4.2.3.3.4.9, Requirement 47
Test type: Automated / Manual
Notes
The multiplicity of this element 0 or 1 for each style and each supported language.
Contextual XPath references
The namespace prefixes used as described in README.md.
Abbreviation | XPath expression (relative to /wms:WMS_Capabilities) |
---|---|
Style | wms:Capability/*/wms:Layer/*/wms:Style |
LegendURL | wms:Capability/*/wms:Layer/wms:Style/wms:LegendURL |