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

ows_schemas_location not getting honored by all services #4624

Closed
woodbri opened this Issue Apr 8, 2013 · 1 comment

Comments

Projects
None yet
3 participants
@woodbri

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:

http://schemas.opengis.net/sld/1.10/sld_capabilities.xsd

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:
http://mapserver.org/ogc/wms_server.html#web-object-metadata

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 *
mapwms.c

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" "http://10.50.0.35"
"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.

@tbonfort

This comment has been minimized.

Show comment
Hide comment
@tbonfort

tbonfort Apr 9, 2013

Member

closed with #4625

Member

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