ows_schemas_location not getting honored by all services #4624

woodbri opened this Issue Apr 8, 2013 · 1 comment


None yet

3 participants

woodbri commented Apr 8, 2013

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:
"ows_sld_enabled" "false"

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

"ows_schemas_location" ""
"ows_sld_enabled" "false"

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.

@tomkralidis tomkralidis was assigned Apr 8, 2013
@tomkralidis tomkralidis pushed a commit to tomkralidis/mapserver that referenced this issue Apr 9, 2013
Tom Kralidis use ows_schemas_location for sld_capabilities ref (#4624) c21101b
tbonfort commented Apr 9, 2013

closed with #4625

@tbonfort tbonfort closed this Apr 9, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment