Bug 15919

Summary: XSLTProcessor.transformToFragment creates an extra not defined TEXT_NODE at the end
Product: WebKit Reporter: Sjoerd Mulder <sjoerdmulder>
Component: DOMAssignee: Alexey Proskuryakov <ap>
Status: RESOLVED FIXED    
Severity: Normal CC: ap, cdumez
Priority: P2    
Version: 523.x (Safari 3)   
Hardware: PC   
OS: OS X 10.4   
Attachments:
Description Flags
Testcase
none
proposed fix mjs: review+

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.