Opened 17 years ago

Closed 17 years ago

#2253 closed defect (invalid)

Response to a WMS getcapabilities version 1.1.0 request doesn't contain the GetLegendGraphic and GetStyles anymore

Reported by: nsavard Owned by: mapserverbugs
Priority: normal Milestone: 5.0 release
Component: WMS Server Version: 5.0
Severity: normal Keywords:
Cc: tomkralidis

Description

I issue the following request to MapServer 5.0.0-beta4 through msautotest but the GetLegendGraphic and GetStyles were not in the response as opposed to the previous version of MapServer. Does someone know why or can confirm that it's a correct answer?

QUERY_STRING="map=[MAPFILE]&SERVICE=WMS&VERSION=1.1.1& REQUEST=GetCapabilities"

MapServer version 5.0.0-beta4 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=GEOS INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE

Change History (8)

in reply to:  description comment:1 by tomkralidis, 17 years ago

Cc: tomkralidis added

Replying to nsavard:

Correct. See r6660. Only the 1.1.1 DTD allows for these elements. No previous DTD.

A 1.1.1 GetCapabilities request SHOULD give you back these elements. I just tried against trunk and can confirm this.

Alot of the msautotest/wxs tests use 1.1.0 as the version; you may want to check this.

comment:2 by dmorissette, 17 years ago

Perhaps it would be a good idea to have tests for both 1.1.0 and 1.1.1 if that's not already the case.

comment:3 by nsavard, 17 years ago

I made an error in the description of the ticket. The version was 1.1.0 and not 1.1.1. The request was:

QUERY_STRING="map=[MAPFILE]&SERVICE=WMS&VERSION=1.1.0& REQUEST=GetCapabilities?"

in reply to:  2 comment:4 by nsavard, 17 years ago

Replying to dmorissette:

Perhaps it would be a good idea to have tests for both 1.1.0 and 1.1.1 if that's not already the case.

Good idea. I'll do that.

comment:5 by tomkralidis, 17 years ago

Normand: this is the expected behaviour.

comment:6 by tomkralidis, 17 years ago

Can we close this one?

in reply to:  6 comment:7 by nsavard, 17 years ago

Replying to tomkralidis:

Can we close this one?

Yes.

comment:8 by tomkralidis, 17 years ago

Resolution: invalid
Status: newclosed

Closing as invalid as this is the expected behaviour according to the WMS spec.

Note: See TracTickets for help on using tickets.