[OpenLayers-Dev] WFS and IE 11

Stephen Battey stephen.battey at dottedeyes.com
Tue Dec 17 05:31:47 PST 2013


krooole wrote
> Thanks Stephen,
> 
> your fix worked for us. However, we came across the error again when
> sending multiple operations in a single transaction. In this case, IE11
> generates xmlns:NS2, xmlns:NS3 and so on.
> 
> We've fixed it by using a more general regex:
> 
> child = child.replace(new RegExp('xmlns:NS\\d+="" NS\\d+:', 'g'), '');

krooole, that's really useful. We hadn't hit this scenario, but we'll use
your generic expression just in case.
Thanks for sharing.



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


More information about the Dev mailing list