Ticket #3611 (new bug)
Wrong DOM API calls to setAttributeNS()
| Reported by: | vog | Owned by: | ahocevar |
|---|---|---|---|
| Priority: | major | Milestone: | 2.13 Release |
| Component: | Renderer.SVG | Version: | 2.11 |
| Keywords: | setAttributeNS browser compatibility juniper ssl gateway | Cc: | |
| State: | Needs More Work |
Description
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.

