Hi Andrea,
I've created a JIRA issue:
http://jira.codehaus.org/browse/GEOS-1810
Yeah, it was creating a problem for me since I am using the same kind of
versioned parsers for DescribeLayer as Tim Schaub made for things like WMS
GetCapabilities and WMC in OpenLayers.
So the overall parser checks the version number, and then launches the right
parser. I did not have a parser for version 1.0, only for 1.1 and 1.1.1
Best regards,
Bart
--
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl
--------- Oorspronkelijk bericht --------
Van: Andrea Aime <aaime@anonymised.com>
Naar: Bart van den Eijnden OSGIS <bartvde@anonymised.com>
Cc: geoserver-users@lists.sourceforge.net
Onderwerp: Re: [Geoserver-users] DescribeLayer response: version attribute
Datum: 17/03/08 08:57
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:
>
>
> 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" >
<WMS_DescribeLayerResponse version="1.1.0" >
<!-- 'Layer_A' comes from the wfs specified by
the prefix "http://www.mywfs.com/WFS?" and has features
of types 'Road_FT' and 'Route_FT' -->
<LayerDescription name="Layer_A"
wfs="http://www.mywfs.com/WFS?">
<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