diff --git a/lib/OpenLayers/Format/WFS.js b/lib/OpenLayers/Format/WFS.js index ac3c7f7e43..9e269b833f 100644 --- a/lib/OpenLayers/Format/WFS.js +++ b/lib/OpenLayers/Format/WFS.js @@ -47,6 +47,8 @@ OpenLayers.Format.WFS.prototype = write: function(features) { var transaction = document.createElementNS('http://www.opengis.net/wfs', 'wfs:Transaction'); + transaction.setAttribute("version","1.0.0"); + transaction.setAttribute("service","WFS"); for (var i=0; i < features.length; i++) { switch (features[i].state) { case OpenLayers.State.INSERT: