WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 10313
Bug 40715
xsltProcessor.transformToFragment returning NULL (in Safari, Chrome)
https://bugs.webkit.org/show_bug.cgi?id=40715
Summary
xsltProcessor.transformToFragment returning NULL (in Safari, Chrome)
Liam Foy
Reported
2010-06-16 09:28:01 PDT
Hello, The following code works in FireFox:
https://zd1.zednax.com:9443/saxon_test/test.html
and here are the XSL files:
https://zd1.zednax.com:9443/saxon_test/
The problem seems to be this line: resultDocument = xsltProcessor.transformToFragment(xml,document); in Safari 5 and Chrome. We have also used saxon8 which correctly transforms on the command line. If you require any more information please let us know!
Attachments
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2010-06-16 11:18:36 PDT
*** This bug has been marked as a duplicate of
bug 10313
***
Liam Foy
Comment 2
2010-06-16 11:35:48 PDT
I'll admit I don't fully understand the problem in 10313. This is a very old bug if related. Is there any work around?
Alexey Proskuryakov
Comment 3
2010-06-16 11:45:34 PDT
The only workaround is to load the document to be transformed in a frame.
Alexey Proskuryakov
Comment 4
2010-06-16 11:46:14 PDT
(or to not use xsl:import and document(), of course)
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug