You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Tony Nys <To...@aditel.be> on 2002/03/21 11:45:14 UTC

xalan BUG java Extension Element:

Hi all,

throwing an exception from xslt extension element/function does not stop
xalan to stop processing !

if you make a simple xslt extension element and you throw an exception, 
xalan calls the .warning() function in the errorhandler and so does not
stop.


also, the exception (and message) is lost and replaced in the warning by
an invocationtarget exception (reflect)


Instead it should call fatalError() in the errorhandler and pass the
original exception incapsulated in transformeexception

tony