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)
comment:1 by , 17 years ago
Cc: | added |
---|
follow-up: 4 comment:2 by , 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 , 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?"
comment:4 by , 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:8 by , 17 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Closing as invalid as this is the expected behaviour according to the WMS spec.
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.