Actions
Bug #1456
closed![Author: Philip Fearon](https://www.gravatar.com/avatar/dd3c76e6c50a14203d6d7d6b989425fc?rating=PG&size=50&default=https%3A%2F%2Fassets.plan.io%2Fimages%2Fdefault_avatar.png)
![Assignee: Philip Fearon](https://www.gravatar.com/avatar/dd3c76e6c50a14203d6d7d6b989425fc?rating=PG&size=22&default=https%3A%2F%2Fassets.plan.io%2Fimages%2Fdefault_avatar.png)
Events from elements referenced using xlink:href from svg:use element not raised within Saxon-CE
Start date:
2012-03-22
Due date:
% Done:
100%
Estimated time:
Platforms:
Description
There's an issue with UI events on an HTML page with an svg:use element like:
<svg xmlns="http://www.w3.org/2000/svg" xmlns:href="www.w3.org/1999/xlink">
<def id="hrefA">
<rect>...</rect>
</def>
<svg:use xlink:href="#rectA"/>
</svg>
When the user clicks on the referenced rectangle, Saxon-CE logs an error indicating that the event target is outside the DOM. Instead, the target event should de-referenced to the SVG rectangle. This will allow SVG events to be handles using XSLT templates, even if the SVG itself is referenced by svg:use.
Please register to edit this issue
Actions