[Webkit-unassigned] [Bug 28744] XSLTProcessor transformToFragment mistakenly treats source node as root one
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Aug 28 14:10:48 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=28744
Alexey Proskuryakov <ap at webkit.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
OS/Version|Windows XP |All
Ever Confirmed|0 |1
Summary|XSLTProcessor |XSLTProcessor
|transformToFragment |transformToFragment
|incompatibility with |mistakenly treats source
|Mozilla and Opera |node as root one
Platform|PC |All
CC| |ap at webkit.org
Status|UNCONFIRMED |NEW
--- Comment #1 from Alexey Proskuryakov <ap at webkit.org> 2009-08-28 14:10:48 PDT ---
This is indeed a serious bug, but the mechanism is somewhat different than
described above. The implementation of transformToFragment takes a subtree with
a root at source node, and creates a new document from it. So, the
"<xsl:template match="/">" rule matches "<foo>" node.
Like bug 14101, this will be quite difficult to fix, because our DOM tree
cannot be directly processed by XSL, so we cannot just pass a node from DOM.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list