Here's a patch to XSLT plug-in. XSLT compilation and execution errors and warnings will show up in the jEdit ErrorList.
It's possible to jump directly to the xsl file's line containing the error with a mouse click.
It's been tested with Saxon 8.8, but it should also work with Xalan, because there's nothing Saxon specific.
It uses the javax.xml.transform.ErrorListener interface to get the errors from the XSLT processor. see http://java.sun.com/j2se/1.5.0/docs/api/javax/xml/transform/ErrorListener.html .
The jEdit version used in testing was jEdit 4.3pre4 running on Java 1.5.0_06 Linux.
list of files:
- contains the patch: diff -u -r xslt.orig xslt (where xslt.orig contains original sourcecode from XSLT-0.6.0.tar.gz and xslt is the modified version)
- contains modified xslt/*.java files
- compiled version of the modified plug-in
I hope this patch will be taken in to the main XSLT plugin distribution since this makes it much easier to work with XSLT in jEdit. I got frustrated in scrolling the activity log and searching for the XSLT error message.