[OpenLayers-Dev] WFS and IE 11

Stephen Battey stephen.battey at dottedeyes.com
Mon Dec 9 05:10:33 PST 2013


Steffen G wrote
> I have the same problem. It has something to do with the HTTP response
> text.
> 
> If you use:
> http://www.openlayers.org/dev/examples/wfs-spatial-filter.html

Thanks Steffen G. We have also hit this problem with one of our OpenLayers
clients and initially thought it was a bug in our code.
Your link to that OpenLayers example helped us prove otherwise.

Stepping through the OpenLayers source, the XML is built by native code in
the XMLSerializer class. So I suspect this is a bug in IE11, not OpenLayers.

We have put in a workaround for this problem.
We override the write method in the OpenLayers.Format.XML class. After the
XML has been generated we do a search-replace on the rogue text in the XML
namespace.

Here is the code we run after OpenLayers has loaded:





--
View this message in context: http://osgeo-org.1560.x6.nabble.com/WFS-and-IE-11-tp5090636p5093321.html
Sent from the OpenLayers Dev mailing list archive at Nabble.com.


More information about the Dev mailing list