Closed robblis closed 3 months ago
Thank you for reporting.
The test suite expects an exception report which can be validated against schema https://schemas.opengis.net/wms/1.3.0/exceptions_1_3_0.xsd.
This requirement is described in chapter "E.2 Service Exception schema" of the specification (OGC 06-042).
Your service, however, returns a http://schemas.opengis.net/ows/2.0/owsExceptionReport.xsd.
Hi @dstenger, thanks for the clarification. Our service returns the ows exception to satisfy the INSPIRE View Service validator, but not necessarily what's required for the OGC validation. So, seems like no issue with regards to the OGC validator. Our standard WMS service seems to return the correct exception. I'll go ahead and close this issue.
Describe the bug While testing a valid INSPIRE View Service WMS exceptions-default test failures are encountered.
To Reproduce Steps to reproduce the behavior:
Expected behavior See exceptions-default test pass
Screenshots
Additional context The test errror states: Validation error: cvc-elt.1.a: Cannot find the declaration of element 'ExceptionReport'.
Using the test URL... https://agsinspire2.esri.com/server/services/A4I/EnergyResources/MapServer/WMSServer?FoRmAt=image%2Fbmp&VeRsIoN=1.3.0&LaYeRs=NonExistant&CrS=CRS:84&BbOx=0,0,1,1&HeIgHt=100&ReQuEsT=GetMap&WiDtH=100&StYlEs=
The output is...
The output owsExceptionReport.xsd clearly defines an ExceptionReport element.
So not sure why the failure.