From 16a83026a187a546ed044ca0c6bc899faf314b17 Mon Sep 17 00:00:00 2001 From: ahocevar Date: Wed, 27 Feb 2008 00:50:09 +0000 Subject: [PATCH] WFS transactions use wrong namespace for Delete. Thanks to Stephen Woodbridge for this fix. r=tschaub (closes #1394) git-svn-id: http://svn.openlayers.org/trunk/openlayers@6381 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Format/WFS.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/OpenLayers/Format/WFS.js b/lib/OpenLayers/Format/WFS.js index 6c701f2bcb..1af2cb13a4 100644 --- a/lib/OpenLayers/Format/WFS.js +++ b/lib/OpenLayers/Format/WFS.js @@ -189,7 +189,7 @@ OpenLayers.Format.WFS = OpenLayers.Class(OpenLayers.Format.GML, { alert(OpenLayers.i18n("noFID")); return false; } - var deleteNode = this.createElementNS(this.featureNS, 'wfs:Delete'); + var deleteNode = this.createElementNS(this.wfsns, 'wfs:Delete'); deleteNode.setAttribute("typeName", this.layerName); var filterNode = this.createElementNS(this.ogcns, 'ogc:Filter');