I am throwing an instance of java.lang.Exception (not RuntimeException) from 
an extension element and it seems to stop the transformer (xalan 2.5.0).

Has the behavior changed since it was described by Morris Kwan
in http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7357 ?

Quoting the above URL,

"1. If the extension element has a <xsl:fallback> child element, the fallback 
element is instantiated and no error is reported.
2. Otherwise if the exception is a TransformerException or RuntimeException, 
the ErrorListener.fatalError() interface is called. For other kinds of 
exception, the ErrorListener.warning() interface is called."

Thanks,
-- 
Nicholas Sushkin

Reply via email to