-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I can't understand error at47-getcapabilities-layer-style-legend-url #618
Comments
can someone help me? |
Dear @pdorio Sorry for the delay on our response. We are going to check the xPath of this ETS and its definition on the ATS, and see if the GetCapabilities document is compliant with the Abstract Test Suite in order to fix the implementation. KInd regards. |
Dear @pdorio, We updated our staging instance. We added a more specific error message to help users to have a better understanding of what is not compliant. Could you please provide us feedback about this? Thank you and best regards. |
Hello everyone, I used the staging instance to test a WMS. The aformentioned test fails for my resource also, because the /Layer/Style/LegendURL/Format is not 'application/xml', as expected by the validator, but image/png. Looking for more information on this requirement, I see in the test method that the test should check if the legend is a valid image and not a specific format. I am wondering whether the test is too strict, since I was not able to find any sort of requirement for a specific format of the legend graphic. My resource is: http://beta.geoportal.ypen.gr/geoserver/aqd-wms/ows?service=WMS&version=1.3.0&request=GetCapabilities Thank you in advance, Elena |
@dperezBM I tested the WMS again and I still don't understand the problem Here my WMS getcapabilities Here my report result i obtain the following error at the same point: at47-getcapabilities-layer-style-legend:
|
Dear @pdorio, looking at the WMS of your last comment, it seems that in the LegendURL elements the WMS is missing. For instance, this URL (https://geoservices8.civis.bz.it/geoserver/p_bz-Inspire/ows?service=WMS&request=GetLegendGraphic&format=image%2Fpng&width=20&height=20&layer=AD.Address) generates the following exception: <ows:Exception exceptionCode="MissingParameterValue" locator="version">
<ows:ExceptionText>Could not determine version</ows:ExceptionText>
</ows:Exception> If you add the parameter This generates the error in the "at47-getcapabilities-layer-style-legend" test. Could you please verify your implementation and testing again? |
Dear @pdorio, please note that the We will modify the error messagge in order to better clarify that the response of the GetLegendGraphic request generates an exception. |
@fabiovinci thank you for modifying the error message. I know that the problem is generated by an issue of the software: |
Dear @fabiovinci We have modified the error message and it is ready in staging environment where you can check it. Note: With the changes made during this issue, this one 703 has also been solved. Regards |
Deat @arantzaetxebarria, the fix is ok for me. @pdorio, Now the error message is "The legend format is invalid. The validator is expecting 'image/png', but the defined legend format is 'application/xml'. Please, review your code and try again.". We think it is more understandable now, you confirm? |
Dear @pdorio, Do you confirm that the error message is clearer now? |
I try to validate my WMS service, but it fails on: at47-getcapabilities-layer-style-legend-url
https://inspire.ec.europa.eu/validator/test-reports/details.html?id=EID29b2b41d-eda1-43a3-a3fb-fa87fb8feed5
This is my service:
https://demo-geoservices8.civis.bz.it/geoserver/p_bz-Inspire/ows?service=wms&version=1.3.0&request=GetCapabilities&language=eng
Each style contains LegendUrl and the URL is valid
Can someone help me?
Regards
The text was updated successfully, but these errors were encountered: