[OpenLayers-Trac] [OpenLayers] #3611: Wrong DOM API calls to setAttributeNS()

OpenLayers trac-20090302 at openlayers.org
Tue Jan 24 04:26:11 EST 2012

#3611: Wrong DOM API calls to setAttributeNS()
 Reporter:  vog                                                       |       Owner:  ahocevar    
     Type:  bug                                                       |      Status:  new         
 Priority:  major                                                     |   Milestone:  2.12 Release
Component:  Renderer.SVG                                              |     Version:  2.11        
 Keywords:  setAttributeNS browser compatibility juniper ssl gateway  |       State:  Review      
 The SVG renderers (SVG and SVG2) make a wrong DOM API call to
 setAttributeNS(), which works in most cases due to tolerant browser
 implementations, but does not work in all circumstances.

 In particular, this issue causes missing point markers when !OpenLayers is
 accessed through the Juniper SSL Gateway, and the SVG or SVG2 renderer is
 used, and the point geometries are styled via externalGraphic.

 Note that at other places (such as Format/WMC/v1.js) the correct API call
 to setAttributeNS() is used.

 This issue exists in release 2.11 as well as in the master branch.

 The attached patch fixes the issue. It was created via "git format-patch"
 against the master branch, but applies against release 2.11, too.

 Please review.

Ticket URL: <http://trac.openlayers.org/ticket/3611>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer

More information about the Trac mailing list