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

OpenLayers trac-20090302 at openlayers.org
Tue Jan 24 05:12:53 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:  Awaiting User Feedback
Changes (by ahocevar):

  * state:  Review => Awaiting User Feedback


 According to the DOM Core specification, [http://www.w3.org/TR/DOM-
 Level-2-Core/core.html#ID-ElSetAttrNS setAttributeNS] accepts a qualified
 name as 2nd argument. From the XML Namespaces specification,
 [http://www.w3.org/TR/1999/REC-xml-names-19990114/#ns-qualnames qualified
 names]: "Note that the prefix functions only as a placeholder for a
 namespace name. Applications should use the namespace name, not the
 prefix, in constructing names whose scope extends beyond the containing

 OpenLayers doesn't map the http://www.w3.org/1999/xlink namespace to the
 "xlink" prefix, so this patch will cause problems in XHTML documents that
 map the xlink namespace to a different prefix. Having said that, the place
 to fix this is the Juniper SSL Gateway. Please close this ticket if you

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

More information about the Trac mailing list