Closed Dnoack49 closed 8 months ago
Dear @Dnoack49,
according to the related test method "Layer Style Legend URL", the validator checks that all the responses of the LegendURLs are valid images.
In your case, some LegendURL links are not working (the response is "text/xml; charset=UTF-8" instead of "image/png"), e.g. https://inspire.brandenburg.de/services/gmk_wms?language=ger&version=1.3.0&service=WMS&request=GetLegendGraphic&sld_version=1.1.0&layer=el_isobathdense&format=image/png&STYLE=%22%20xmlns:xlink=%22http://www.w3.org/1999/xlink
So, you need to check your WMS settings.
Alright thank you very much, we will check our configuration. In case I have further questions I will reopen the issue.
Dear all,
we are trying to validate the following WMS (using the production and staging instance): https://inspire.brandenburg.de/services/el_gmk_wms?request=GetCapabilities&service=WMS
and we receive the error:
The legend format is invalid. The validator is expecting 'image/png', but the defined legend format is 'text/xml; charset=UTF-8'. Please, review your code and try again.
However the Legen URL Format is set to
image/png
Is this really an error? Could you please provide us with some guidance on what needs to be changed?Kind regards