[OpenLayers-Dev] Bug in OpenLayers/Format/WFS.js ?? and Fix

Tim Schaub tschaub at openplans.org
Tue Feb 26 14:28:35 EST 2008


Hey-

Stephen Woodbridge wrote:
> Stephen Woodbridge wrote:
>> Hi all,
>>
>> I ran into a strange case of the namespace for WFS being set wrong. I 
>> think the fix follows based on reading the code. I have not had a chance 
>> to patch and test it:
>>
>> http://trac.openlayers.org/browser/trunk/openlayers/lib/OpenLayers/Format/WFS.js 
>> rev.6313
>>
>> L192: 	        var deleteNode = this.createElementNS(this.featureNS, 
>> 'wfs:Delete');
>>
>> should be:
>>
>>   	        var deleteNode = this.createElementNS(this.wfsns, 'wfs:Delete');
>>
> Just verified that it fixes the problem that I was seeing.

Thanks for the report.  This looks like a clear typo.

Adding a ticket to trac with a patch is the fastest way to get something 
fixed.

Please see http://trac.openlayers.org/wiki/FilingTickets which includes 
a link to http://trac.openlayers.org/wiki/CreatingPatches.

I've set up a ticket to address this:
http://trac.openlayers.org/ticket/1394

Tim


> 
> -Steve
> _______________________________________________
> Dev mailing list
> Dev at openlayers.org
> http://openlayers.org/mailman/listinfo/dev
> 
> !DSPAM:4033,47c4654115605210051143!
> 




More information about the Dev mailing list