Opened 21 years ago

Closed 20 years ago

#381 closed defect (duplicate)

OGC test suite-Link to XML dtd document need to be update

Reported by: nsavard@… Owned by: dmorissette
Priority: high Milestone:
Component: WMS Server Version: 4.1
Severity: minor Keywords:
Cc:

Description

Validation against the XML dtd produce an error.  MapServer need to use the
right dtd version when answering to a GetCapabilities request:

"http://www.digitalearth.gov/wmt/xml/capabilities_1_1_1.dtd"

Bug found in MapServer 4.0B.

Test path = wms/profiles/basic/1

In mapwms.c, the "dtd_url" target needs to be update to
http://www.digitalearth.gov/wmt/xml/capabilities_1_1_1.dtd (see below).

/*
** msWMSGetCapabilities()
*/
int msWMSGetCapabilities(mapObj *map, const char *wmtver) 

.....

  else {
    wmtver = "1.1.0";
    dtd_url = "http://www.digitalearth.gov/wmt/xml/capabilities_1_1_0.dtd";
  }
....

Change History (2)

comment:1 by nsavard@…, 21 years ago

The test path is :wms/wmsops/getcapabilities/response/2
instead of :wms/profiles/basic/1

comment:2 by nsavard@…, 20 years ago

Resolution: duplicate
Status: newclosed

*** This bug has been marked as a duplicate of 158 ***
Note: See TracTickets for help on using tickets.