Ticket #3525 (closed defect: fixed)
WMS 1.3.0 - Wrong default EXCEPTIONS parameter
| Reported by: | colivier | Owned by: | assefa |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.6.5 release |
| Component: | WMS Server | Version: | 5.6 |
| Severity: | normal | Keywords: | WMS 1.3.0 EXCEPTIONS default |
| Cc: | dmorissette, sholl |
Description
Hi,
On 5.6.5 (didn't check for trunk) the default value for EXCEPTIONS parameter seems not right for WMS 1.3.0
Following patch against 5.6 branch fix this behaviour:
Index: mapwms.c
===================================================================
--- mapwms.c (revision 10484)
+++ mapwms.c (working copy)
@@ -90,6 +90,8 @@
wms_exception_format = "SE_XML"; /* WMS 1.0.1 to 1.0.7 */
else if (nVersion <= OWS_1_1_1)
wms_exception_format = "application/vnd.ogc.se_xml"; /* WMS 1.1.0 to 1.1.1 */
+ else if (nVersion == OWS_1_3_0)
+ wms_exception_format = "XML"; /* WMS 1.3.0 */
else
wms_exception_format = "text/xml";
}
HTH,
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

