> If the response is undefined the server can do whatever it wants,
including sending back an exception.

Agreed; I fully expect conflicting values to end very badly. :-)
But my point was, the spec explicitly only says that "conflicting values"
may lead to the undefined behaviour. These are non-conflicting, hence
my inference they're allowed (though of course, that is an inference).

Jonathan



On 7 February 2013 15:15, Andrea Aime <[email protected]> wrote:

> On Thu, Feb 7, 2013 at 4:11 PM, Jonathan Moules <
> [email protected]> wrote:
>
>> Another spec that does odd things. :-)
>>
>> Looking at the specs, WMS 1.1.0 doesn't appear to have an opinion on
>> duplicate parameters:
>>
>> *Parameters in a request may be specified in any order. *
>> *
>> *
>> *An OGC Web Service shall be prepared to encounter parameters that are
>> not part of this *
>> *specification.  In terms of producing results per this specification,
>> an OGC Web Service *
>> *shall not require such parameters. *
>>
>>
>>
>> But WMS 1.3.0 is clearer:
>>
>> *When request parameters are duplicated with conflicting values, the
>> response from the server may be undefined. *
>> *This International Standard does not mandate which of the duplicated
>> values sent by the client are to be used by *
>> *the server. *
>>
>>
>> However, these aren't conflicting values, they're identical values. Also,
>> the second line strongly implies (to me anyway), that the WMS should still
>> work with duplicate values, otherwise why specify that the server gets to
>> choose which of the parameters to use? And that the server can perform
>> "undefined" behaviour if they're conflicting?
>>
>
> If the response is undefined the server can do whatever it wants,
> including sending back an exception.
>
> However GeoServer by tradition tries to to be backrwards incompatible, so
> apps that used to work against
> version 2.2.x should keep on working in 2.3.x
> I'm afraid the fix won't be simple though...
>
> Cheers
> Andrea
>
> --
> ==
> Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
> information.
> ==
>
> Ing. Andrea Aime
> @geowolf
> Technical Lead
>
> GeoSolutions S.A.S.
> Via Poggio alle Viti 1187
> 55054  Massarosa (LU)
> Italy
> phone: +39 0584 962313
> fax: +39 0584 1660272
> mob: +39  339 8844549
>
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
>
> -------------------------------------------------------
>


This transmission is intended for the named addressee(s) only and may contain 
sensitive or protectively marked material up to RESTRICTED and should be 
handled accordingly. Unless you are the named addressee (or authorised to 
receive it for the addressee) you may not copy or use it, or disclose it to 
anyone else. If you have received this transmission in error please notify the 
sender immediately. All email traffic sent to or from us,  including without 
limitation all GCSX traffic, may be subject to recording and/or monitoring in 
accordance with relevant legislation.
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to