Reviewed and landed by Darin Adler.
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 30 Jun 2005 05:57:18 +0000 (05:57 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 30 Jun 2005 05:57:18 +0000 (05:57 +0000)
commit328599794ddb455d0e6aea980f6ac0d28f77d904
treee68839a9ba8b43f76fe0a925274173ea763bbfea
parent53e57cfa37aa169bf4296bec1be5c77abb00189e
    Reviewed and landed by Darin Adler.

        - Fix <http://bugzilla.opendarwin.org/show_bug.cgi?id=3274>
        document() not supported

        Test cases added:
        * layout-tests/fast/xsl/document-function-expected.txt: Added.
        * layout-tests/fast/xsl/document-function.xml: Added.
        * layout-tests/fast/xsl/document-function.xsl: Added.
        * layout-tests/fast/xsl/resources/document-function-source.xml: Added.

        * khtml/xsl/xslt_processorimpl.cpp:
        (DOM::parseErrorFunc):
        Stub to prevent errors from getting written to the console.

        (DOM::stylesheetLoadFunc):
        Fetch and parse documents.

        (DOM::XSLTProcessorImpl::transformDocument):
        Use the processor as the global variable instead of the
        style sheet.

        * khtml/xsl/xslt_processorimpl.h:
        (DOM::XSLTProcessorImpl::stylesheet):
        (DOM::XSLTProcessorImpl::sourceDocument):
        Add accessors for source document and stylesheet.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9546 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/fast/xsl/document-function-expected.txt [new file with mode: 0644]
LayoutTests/fast/xsl/document-function.xml [new file with mode: 0644]
LayoutTests/fast/xsl/document-function.xsl [new file with mode: 0644]
WebCore/ChangeLog-2005-08-23
WebCore/khtml/xsl/xslt_processorimpl.cpp
WebCore/khtml/xsl/xslt_processorimpl.h