Torben,

you can use ServiceInfo.isCiteCompliant() to detect whether a service is 
in CITE compliance mode.

Kind regards,
Ben.

On 10/05/17 15:53, Ben Caradoc-Davies wrote:
> Torben,
>
> CITE WFS 1.1 tests have been failing on all branches for about 7 days.
> Looking at master, the failures started with this
> geoserver-master-nightly build (CITE tests run from nightly builds):
> http://ares.boundlessgeo.com/jenkins/view/geoserver/job/geoserver-master-nightly/1410/changes
>
> The only relevant change seems to be:
>
> [GEOS-8117] Improve support for null service/version/request in KvpUtils
> https://github.com/geoserver/geoserver/pull/2289
> https://osgeo-org.atlassian.net/browse/GEOS-8117
>
> CITE tests are old and seem to expect
> //wfs:WFS_Capabilities/@version='1.1.0' if version is not specified
> because that was the highest version when the CITE tests were published.
> From:
> http://ares.boundlessgeo.com/jenkins/view/testing-cite/job/cite-wfs-1.1/1317/consoleText
>
> First failure:
>
>       [exec]                Testing
> wfs:wfs-1.1.0-Basic-GetCapabilities-tc13.3
> (wfs-1.1.0/d41e34700_1/d41e749_1/d41e24740_1/d41e894_1)...
>       [exec]                   Assertion: A KVP-encoded GetCapabilities
> request shall include the following query parameters: service=WxS
> request=GetCapabilities, where WxS is a mnemonic label for a service
> type. See Table 2 for definitions of optional query parameters.
>       [exec]                   Testing ctl:assert-xpath
> (wfs-1.1.0/d41e34700_1/d41e749_1/d41e24740_1/d41e894_1/d41e2445_1)...
>       [exec]                      Assertion:
>       [exec]         Evaluates the given XPath expression against the
> input document and
>       [exec]         returns a boolean result according to the XPath
> specification (see
>       [exec]         http://www.w3.org/TR/xpath#section-Boolean-Functions).
>       [exec]
>       [exec]                      The expression
> '//wfs:WFS_Capabilities/@version='1.1.0'' is false.
>       [exec]                   Test ctl:assert-xpath Failed
>       [exec]                Test
> wfs:wfs-1.1.0-Basic-GetCapabilities-tc13.3 Failed (Inherited failure)
>
> Second failure:
>
>       [exec]                Testing
> wfs:wfs-1.1.0-Basic-GetCapabilities-tc14.1
> (wfs-1.1.0/d41e34700_1/d41e749_1/d41e24740_1/d41e899_1)...
>       [exec]                   Assertion: If AcceptVersion is not
> specified, the service must respond with highest supported version.
>       [exec]                   Testing ctl:assert-xpath
> (wfs-1.1.0/d41e34700_1/d41e749_1/d41e24740_1/d41e899_1/d41e2519_1)...
>       [exec]                      Assertion:
>       [exec]         Evaluates the given XPath expression against the
> input document and
>       [exec]         returns a boolean result according to the XPath
> specification (see
>       [exec]         http://www.w3.org/TR/xpath#section-Boolean-Functions).
>       [exec]
>       [exec]                      The expression
> '//wfs:WFS_Capabilities/@version='1.1.0'' is false.
>       [exec]                   Test ctl:assert-xpath Failed
>       [exec]                Test
> wfs:wfs-1.1.0-Basic-GetCapabilities-tc14.1 Failed (Inherited failure)
>
> Kind regards,
>

-- 
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to