Adding ows_schemas_location seems to have solved the the wms schema requests, but we are still getting requests going to:
rather than to the host specified in ows_schemas_location. So this might be a bug or oversight related to the sld code.
Next we tried adding:
Based on this link:
But this seems to be ignored also as sld was still advertised in the getcapabilities document.
I looked at the source code and can not find
$ grep -li ows_sld_enabled *
$ grep -li sld_enabled *
So we tried sld_enabled instead of ows_sld_enabled, but no joy with this one either.
This looks like it might be another bug, or my error in understanding the docs and source code.
Below is the getcapabilities document:
I added the following into my .map file
You can see in the capabilities xml file, it did accept my schema location, however, it is still giving the default location for " http://schemas.opengis.net/sld/1.1.0/sld_capabilities.xsd "
We really need a location that is not on the internet.
use ows_schemas_location for sld_capabilities ref (#4624)
update autotest submodule for #4625 and #4624
closed with #4625