XSLT does not report errors to the user
See parseErrorFunc in XSLTProcessorImpl.*
I just added two testcases to catch this:
fast/xsl/xslt-mismatched-tags-in-xslt.xml (currently produces blank output)
fast/xsl/xslt-missing-namespace-in-xslt.xml (currently parses result as html when it shouldn't)
Created attachment 16936 [details]
Comment on attachment 16936 [details]
Committed revision 27227.
NB: this patch sends errors to Web Inspector console.
This fix (wonderful as it is!) does not actually solve the issue this bug was originally about... so I've filed bug 15751. The fact that this change doesn't affect any tests concerns me. I really think we should add a test case to demonstrate XSLTProcessor writing to the console.