Firefox uses an XSLTProcessor that performs stricter validation than any validator tool I can find. It makes it really difficult to figure out what the problem is in my stylesheet when all I get is a very unhelpful message like this:
[Exception… “The URI is malformed” nsresult: “0x804b000a (NS_ERROR_MALFORMED_URI)” location: "JS frame :: chrome://cpcext/content/js/Common/make.js :: CPCExt.Common.Make.getXSLTProc :: line 1178]
The namespace URI is fine. What other URI could it be talking about?
But I’m not really looking for help with this specific error, I just give it as an example. I have thousands of lines of legacy XSLT code to deal with, which get thumbs-up from xsltproc, xml val, and the W3 validator. But TransforMiix won’t parse most of it, and I just don’t have time for the kind of trial and error I’ve seen suggested elsewhere, commenting out one line at a time and running the transform again until I stumble upon the problematic lines.
Is there, by any chance, a standalone tool that will replicate TransforMiix’s validation and give me a list of error messages so I that can run this on my stylesheets and see what lines it has a problem with? This would be a great help.
Any other suggestions would be welcome.