Opened 18 years ago

Closed 18 years ago

#1739 closed defect (fixed)

[OGC:SOS] fix GetCapabilities root element schema pointer

Reported by: tomkralidis Owned by: mapserverbugs
Priority: high Milestone:
Component: SOS Server Version: unspecified
Severity: normal Keywords:
Cc:

Description

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");

Change History (2)

comment:1 by tomkralidis, 18 years ago

Any update on this one?

comment:2 by tomkralidis, 18 years ago

Resolution: fixed
Status: newclosed
fixed in CVS.
Note: See TracTickets for help on using tickets.