Bug 15919 - XSLTProcessor.transformToFragment creates an extra not defined TEXT_NODE at the end
Summary: XSLTProcessor.transformToFragment creates an extra not defined TEXT_NODE at t...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 523.x (Safari 3)
Hardware: PC OS X 10.4
: P2 Normal
Assignee: Alexey Proskuryakov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-09 06:17 PST by Sjoerd Mulder
Modified: 2019-02-06 09:03 PST (History)
2 users (show)

See Also:


Attachments
Testcase (1.72 KB, text/html)
2007-11-09 06:17 PST, Sjoerd Mulder
no flags Details
proposed fix (11.96 KB, patch)
2007-11-22 23:38 PST, Alexey Proskuryakov
mjs: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sjoerd Mulder 2007-11-09 06:17:43 PST
XSLTProcessor.transformToFragment creates an extra not defined TEXT_NODE at the end.
All other browsers dont (IE / Fx / Op)

Testcase:
Comment 1 Sjoerd Mulder 2007-11-09 06:17:57 PST
Created attachment 17154 [details]
Testcase
Comment 2 Alexey Proskuryakov 2007-11-10 10:29:09 PST
Filed <http://bugzilla.gnome.org/show_bug.cgi?id=495668>.

I think we can implement a simple workaround, but I'd like to wait for feedback from libxslt developers a little.
Comment 3 Alexey Proskuryakov 2007-11-22 23:38:46 PST
Created attachment 17455 [details]
proposed fix

I haven't heard from libxslt developers yet.
Comment 4 Maciej Stachowiak 2007-11-24 19:24:27 PST
Comment on attachment 17455 [details]
proposed fix

r=me, we shouldn't wait for the libxslt bug to be fixed, I think.
Comment 5 Alexey Proskuryakov 2007-11-25 01:45:53 PST
Committed revision 28014.

Comment 6 Lucas Forschler 2019-02-06 09:03:00 PST
Mass moving XML DOM bugs to the "DOM" Component.