Ticket #1739 (closed defect: fixed)
[OGC:SOS] fix GetCapabilities root element schema pointer
|Reported by:||tomkralidis||Owned by:||mapserverbugs|
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");
Note: See TracTickets for help on using tickets.