diff --git a/lib/OpenLayers/Format/WFST/v1.js b/lib/OpenLayers/Format/WFST/v1.js index fdabaf1c32..3cbba7a6dd 100644 --- a/lib/OpenLayers/Format/WFST/v1.js +++ b/lib/OpenLayers/Format/WFST/v1.js @@ -188,31 +188,6 @@ OpenLayers.Format.WFST.v1 = OpenLayers.Class(OpenLayers.Format.XML, { this.writeNode("Query", options, node); return node; }, - "Query": function(options) { - options = OpenLayers.Util.extend({ - featureNS: this.featureNS, - featurePrefix: this.featurePrefix, - featureType: this.featureType, - srsName: this.srsName - }, options); - // TODO: this is still version specific and should be separated out - // v1.0.0 does not allow srsName on wfs:Query - var node = this.createElementNSPlus("wfs:Query", { - attributes: { - typeName: (options.featureNS ? options.featurePrefix + ":" : "") + - options.featureType, - srsName: options.srsName - } - }); - if(options.featureNS) { - node.setAttribute("xmlns:" + options.featurePrefix, options.featureNS); - } - if(options.filter) { - this.setFilterProperty(options.filter); - this.writeNode("ogc:Filter", options.filter, node); - } - return node; - }, "Transaction": function(features) { var node = this.createElementNSPlus("wfs:Transaction", { attributes: {