Closed tomkralidis closed 9 years ago
+1
hi Tom, I think test 'csw:csw-2.0.2-GetCapabilities-tc1.1' should be amended to force 2.0.2 Capabilities to be returned, by adding the 'AcceptVersions' parameter. Would it work for you?
Hi @lorebiga, agree. Either acceptversions=2.0.2
or version=2.0.2
(latter is preferable).
the specs say (§10.5.2): "CSW servers shall implement the request, service, Sections, AcceptVersions and AcceptFormats operation request parameters." So I'd pick the AcceptVersions parameter.
I've added the AcceptVersions parameter, let me know if the fix works.
Works when testing locally. Thanks!
Great! Thanks for reporting!
CSW 2.0.2 (using OWS Common 1.0.0) and CSW 3.0.0 (using OWS Common 2.0.0) both prescribe (in clause 7.3.2):
Now that CSW 3.0.0 is available, a given endpoint supporting both CSW 2.0.2 and CSW 3.0.0 returns 3.0.0 per clause 7.3.2.
The CSW 2.0.2 tests need to account for newer response on some of the tests so they do not fail if a higher (albiet not 2.0.2) version is returned.