Ticket #938 (closed defect: fixed)

Opened 9 years ago

Last modified 9 years ago

remove hardcoding of OGC schemas location

Reported by: tomkralidis Owned by: sdlime
Priority: high Milestone: 4.4 release
Component: WCS Server Version: unspecified
Severity: normal Keywords:
Cc:

Description

In mapwcs.c, all XML root elements which point to schemas in the
xsi:schameLocation attribute hardcode to:

schemas.opengis.net

This should be picking up from the web metadata "ows_schema_locations" value,
which you can get returned from: msOWSGetSchemasLocation(map)

Change History

Changed 9 years ago by sdlime

  • status changed from new to closed
  • resolution set to fixed
Just fixed, thanks...

Changed 9 years ago by tomkralidis

  • status changed from closed to reopened
  • resolution fixed deleted
Looks like there's one left in the ServiceException root element (mapwcs.c, line
1325), hardcoded to ogc.dmsolutions.ca.

While you're at it, the path to the schema should be:

xsi:schemaLocation=\"http://www.opengis.net/wcs
%s/wms/1.1.1/OGC-exception.xsd\">\n", msOWSGetSchemasLocation(map));

Changed 9 years ago by assefa

  • status changed from reopened to closed
  • resolution set to fixed
  • milestone set to 4.4 release
Fixed the last one #comment 2
Note: See TracTickets for help on using tickets.