Menu

#6 Poor error messages for URIResolver

v6.4
closed
5
2012-10-08
2001-07-06
Michael Kay
No

When the -r option is used to nominate a URIResolver
and the class does not exist, the error message is
unspecific about the cause. The same applies to the
ErrorListener.

Conversely some other error messages are reported two
or three times.

(joerg.pietschmann@zkb.ch)

Applies to 6.4 and all previous releases.

Fixed in 6.4.2

Fix: (1) in the com.icl.saxon.StyleSheet module,
return exceptions right up to the goMain() method. (2)
in the directory-processing methods, report errors as
they occur, but count them, and throw a new exception
at the end if there were any errors. (3) when a
failure occurs during transform(), don't report the
error again (it will already have been reported to the
ErrorListener), instead report an unspecific "run-time
error occurred" to avoid repetition.

Discussion