[CITE-Forum] Failed OGC WMS Test
rmartell at galdosinc.com
Wed Jun 11 13:05:50 EDT 2014
An error like that usually indicates that an XPath function was fed an invalid argument. This could be because:
a) The capabilities doc is valid but the script doesn't allow for multiple occurrences of some element (i.e. a script error); or
b) The capabilities doc is not valid.
There is a direct call to the string() function in that test to find the "preferred-name" for a layer:
string($capabilities/Capability//Layer[Name and Style = $style]/Name)
So it looks like multiple layers were matched but this was not expected in the script.
From: CITE-Forum [mailto:cite-forum-bounces+rmartell=galdosinc.com at lists.opengeospatial.org] On Behalf Of Bruce Dietrich
Sent: Wednesday, 11 June, 2014 07:19
To: cite-forum at lists.opengeospatial.org
Subject: [CITE-Forum] Failed OGC WMS Test
I am running OGC WMS testing for WMS version 1.1.1 against our WMS service. I am getting a failure for a single test (results shown below). This test does not execute a web request against our service (no URL is generated by the OGC Test) and the error is cryptic. What does this error mean? What part of our GetCapabilities XML could cause this error?
Log for test s0001/d1e2085_1
Test wms:wmsops-getmap-each-style type Mandatory default result Passed (s0001/d1e2085_1)
Assertion: For each of the Styles in the capabilities document, when a GetMap request is made with the STYLES parameter set to the element of the style, then the response is valid.
A sequence of more than one item is not allowed as the first argument of string() (<Name/>, <Name/>, ...)
CITE-Forum mailing list
CITE-Forum at lists.opengeospatial.org
More information about the CITE-Forum