[xsl] Catching document() error in ErrorListener

Subject: [xsl] Catching document() error in ErrorListener
From: John Doh <johndoh@xxxxxxxxxx>
Date: Wed, 7 Apr 2004 21:43:40 +0100
Hi folks,

I tried the archives first to no avail...

Using Xalan 2.5.0 I gave my TransformerFactory an ErrorListener.

Which works perfectly well... unless the error occurs in a file brought in by document(). In which case the Xalan logs the error to stderr and continues on as best it can - leaving no record of the error in the ErrorListener.

Am I missing something? What can I do to catch the errors?

JD.

Current Thread