MapServer / MapServer-import

3 stars 2 forks source link

[OGC:SOS] fix GetCapabilities root element schema pointer #1739

Open tbonfort opened 12 years ago

tbonfort commented 12 years ago

Reporter: tomkralidis Date: 2006/04/06 - 04:12

Hi,

Currently, the root element of a GetCapabilities points to a schema which
doesn't exist, hence producing an invalid XML document.

Since the SOS schemas don't exist on schemas.opengeospatial.net yet, this will
be the case when someone encodes http://schemas.opengeospatial.net as their
MAP/WEB/METADATA/ows_schemas_location

We should prepare for this by editing the GetCapabilities response.

The following change will fix this:

in file mapogcsos.c, line 971:

currently:

    dtd_url = strcatalloc(dtd_url, "/sosGetCapabilities.xsd");

should be:

    dtd_url = strcatalloc(dtd_url, "/ows/0.0.31/sosGetCapabilities.xsd");
tbonfort commented 12 years ago

Author: tomkralidis Date: 2006/10/13 - 19:45


Any update on this one?
tbonfort commented 12 years ago

Author: tomkralidis Date: 2006/10/16 - 20:21


fixed in CVS.