Opened 14 years ago

Last modified 14 years ago

#1377 closed defect

Potential issue for NegotiatedVersion of OgcServer — at Version 2

Reported by: liuar Owned by: liuar
Priority: low Milestone:
Component: WMS Interface Version: 2.2.0
Severity: trivial Keywords:
Cc: External ID:

Description (last modified by brucedechant)

This is the section about versions negotiation in WMS specification

  1. If a version unknown to the server and higher than the lowest supported version is requested, the server should send the highest version it supports that is less than the requested version.



  1. If a version lower than any of those known to the server is requested, then the server shall send the lowest version it supports.



So, for the current implementation of OgcServer in webTier, there's a potential issue for an unknown version which is just greater than the lowest supported version and less than any other supported versions.
For example, MapGuide support 1.0.0 and 1.1.0. if there's a 1.0.5 request, MapGuide should reply a 1.0.0. However, the response is the highest version in the current implementation.

MapGuide already supports all the possible versions of WMS, nervertheless it's still a potential issue.

Change History (3)

by liuar, 14 years ago

Attachment: version negotiation.patch added

comment:1 by brucedechant, 14 years ago

Description: modified (diff)

comment:2 by brucedechant, 14 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.