Reviewed by Darin.
http://bugs.webkit.org/show_bug.cgi?id=10313
xsl:import doesn't work in stylesheets loaded via XMLHttpRequest
This is a partial fix that makes a couple more steps towards fixing the problem.
Test: fast/xsl/transform-xhr-doc.xhtml
* xml/XSLTProcessor.cpp:
(WebCore::xsltStylesheetPointer): Pass an URL for the stylesheet. I'm not sure why this constructor even needs it,
given that it has a Node, but this is a small modifications that makes XSLImportRule try to load from a correct URL.
(WebCore::XSLTProcessor::transformToString): Fix the crash for real this time.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@18644 268f45cc-cd09-0410-ab3c-d52691b4dbfc
8 files changed