There is no intentional change to the behavior. Please open a bug and
attach your stylesheet and extension souce if you see something different.

Thanks,

Morris Kwan
XSLT Development
IBM Toronto Lab
Tel: (905)413-3729
Email: [EMAIL PROTECTED]



                                                                                
                                                    
                      Nicholas Sushkin                                          
                                                    
                      <[EMAIL PROTECTED]        To:       [EMAIL PROTECTED]     
                                          
                      ance.net>                cc:       Morris 
Kwan/Toronto/[EMAIL PROTECTED]                                              
                                               Subject:  throwing Exception 
from an extension element stops transformer?            
                      05/27/2003 10:01                                          
                                                    
                      AM                                                        
                                                    
                                                                                
                                                    
                                                                                
                                                    



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