WebCore:
authorandersca <andersca@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 21 Jul 2006 07:52:10 +0000 (07:52 +0000)
committerandersca <andersca@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 21 Jul 2006 07:52:10 +0000 (07:52 +0000)
commit2260e505097c78582f0f03492eb78f8bf2933f9f
tree778da3f96f6422b8ccfeb17252a904876154cb8b
parenta33e5a23164980dc3289332c40bfe952acdd8df4
WebCore:

2006-07-20  Anders Carlsson  <acarlsson@apple.com>

        Reviewed by Geoff.

        <rdar://problem/4637807> REGRESSION: "Features & Options" page at volvocars.us fails

        * xml/XSLTProcessor.cpp:
        (WebCore::xsltParamArrayFromParameterMap):
        Turns out parameters never worked. String parameters need to be escaped so we create a transform context,
        add the parameters to it quoted and then use xsltApplyStylesheetUser which lets us pass the transform context to it.
        This also works around a bug in libxslt where a hash table isn't allocated.

LayoutTests:

2006-07-20  Anders Carlsson  <acarlsson@apple.com>

        Reviewed by Geoff.

        <rdar://problem/4637807> REGRESSION: "Features & Options" page at volvocars.us fails

        * fast/xsl/xslt-processer-expected.txt:
        This passes now.

        * fast/xsl/xslt-string-parameters-expected.txt: Added.
        * fast/xsl/xslt-string-parameters.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@15552 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/xsl/xslt-processer-expected.txt
LayoutTests/fast/xsl/xslt-string-parameters-expected.txt [new file with mode: 0644]
LayoutTests/fast/xsl/xslt-string-parameters.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/xml/XSLTProcessor.cpp