[OpenLayers-Commits] r12063 - sandbox/bartvde/exception/openlayers/lib/OpenLayers/Format

commits-20090109 at openlayers.org commits-20090109 at openlayers.org
Tue Jun 7 16:23:58 EDT 2011


Author: bartvde
Date: 2011-06-07 13:23:58 -0700 (Tue, 07 Jun 2011)
New Revision: 12063

Modified:
   sandbox/bartvde/exception/openlayers/lib/OpenLayers/Format/OGCExceptionReport.js
Log:
add a comment why we do not use the OWSCommon readers instead of a format

Modified: sandbox/bartvde/exception/openlayers/lib/OpenLayers/Format/OGCExceptionReport.js
===================================================================
--- sandbox/bartvde/exception/openlayers/lib/OpenLayers/Format/OGCExceptionReport.js	2011-06-07 20:21:47 UTC (rev 12062)
+++ sandbox/bartvde/exception/openlayers/lib/OpenLayers/Format/OGCExceptionReport.js	2011-06-07 20:23:58 UTC (rev 12063)
@@ -73,6 +73,7 @@
             this.readChildNodes(data, exceptionInfo);
             if (exceptionInfo.exceptionReport === null) {
                 // fall-back to OWSCommon since this is a common output format for exceptions
+                // we cannot easily use the ows readers directly since they differ for 1.0 and 1.1
                 exceptionInfo = new OpenLayers.Format.OWSCommon().read(data);
             }
         }



More information about the Commits mailing list