[Geoserver-users] DescribeLayer response: version attribute

Hi list,

why is a DescribeLayer response by Geoserver using value 1.0.0 for the
version attribute, and not 1.1.1?

Example request:
http://145.50.148.45:8082/geoserver/wms?LAYERS=rwsagi:BKN_TESTDATA.VWATER&FORMAT=image/gif&TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=DescribeLayer&STYLES=&EXCEPTIONS=application/vnd.ogc.se_inimage&SRS=EPSG:28992

Example response (part of it):
<WMS_DescribeLayerResponse version="1.0.0">

Ofcourse 1.0.0 is the SLD version, but IIRC according to the spec the
version should be the WMS version number.

Best regards,
Bart

--
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl

Bart van den Eijnden (OSGIS) ha scritto:

Hi list,

why is a DescribeLayer response by Geoserver using value 1.0.0 for the
version attribute, and not 1.1.1?

Example request:
http://145.50.148.45:8082/geoserver/wms?LAYERS=rwsagi:BKN_TESTDATA.VWATER&FORMAT=image/gif&TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=DescribeLayer&STYLES=&EXCEPTIONS=application/vnd.ogc.se_inimage&SRS=EPSG:28992

Example response (part of it):
<WMS_DescribeLayerResponse version="1.0.0">

Ofcourse 1.0.0 is the SLD version, but IIRC according to the spec the
version should be the WMS version number.

Hum, I could not find any statement regarding about what the version number should be in the WMS_DescribeLayerVersion number, yet the only
sample response in the SLD spec is:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE WMS_DescribeLayerResponse
SYSTEM "http://some.site.com/sld/DSR.dtd&quot; >
<WMS_DescribeLayerResponse version="1.1.0" >
<!-- 'Layer_A' comes from the wfs specified by
the prefix "http://www.mywfs.com/WFS?&quot; and has features
of types 'Road_FT' and 'Route_FT' -->
<LayerDescription name="Layer_A"
wfs="http://www.mywfs.com/WFS?&quot;&gt;
<Query typeName="Road_FT" />
<Query typeName="Route_FT" />
</LayerDescription>
<!-- 'Layer_B' cannot be described in terms of
a WFS and so has no wfs attribute and no contents -->
<LayerDescription name="Layer_B">
</LayerDescription>
</WMS_DescribeLayerResponse>

so it's quite likely you're correct, the version should be related
to the wms spec (when the SLD 1.0 spec was written wms 1.1.1 still
wasn't around afaik.

Can you open a jira issue about it?

Out of curiosity, is the current behaviour causing any trouble to you?

Cheers
Andrea