Purpose: The default language for the service must be provided in order the user to be able to know which language can be expected to be used if the capabilities document when no language is explicitly requested.
Prerequisites
Test method
- Let the value of GetCapabilities OnlineResource be
getcapabilities-url
. - Let the DefaultLanguage code be
lang-code
. - Create a GetCapabilities HTTP request by adding the parameters
SERVICE=WMS
,REQUEST=GetCapabilities
,VERSION=1.3.0
to thegetcapabilities-url
. - Execute the request. If the returned resource can be parsed as a valid XML document and if the document passes tests A.03.IR05.schema.validation and A.06.IR08.language.node:
- Check that the ResponseLanguage code equals the
lang-code
. If it does pass the test.
- Check that the ResponseLanguage code equals the
- Otherwise fail the test.
Reference(s):
Test type: Automated
Notes
The namespace prefixes used as described in README.md.