Hi Santiago With Xalan2.6.0 it works fine the exception is thrown but with Xalan2.7.0 no exception is thrown and exception message is displayed on console.
Thanks Pankaj ----- Original Message ----- From: "Santiago Pericas-Geertsen" <[EMAIL PROTECTED]> To: "Pankaj Bishnoi" <[EMAIL PROTECTED]> Cc: "Xalan List" <xalan-j-users@xml.apache.org> Sent: Monday, August 21, 2006 7:14 PM Subject: Re: Problem with Xalan2.7.0 transformation > Hi Pankaj, > > Are you saying that neither your error listener is called nor are > you able to catch the ClassNotFoundException? I would think this > isn't by design, the application should get notified in a situation > like this. > > You could file a bug/RFE on Jira, and even better provide a patch > for it if you have the time :) > > -- Santiago > > On Aug 21, 2006, at 2:33 AM, Pankaj Bishnoi wrote: > > > Hi All > > I am using Xalan2.7.0 for my transformations. I have > > registered a > > errorlistener for transformer factory and transformer objects. For > > any xsl > > validation errors(for example: - variable used is not declared in > > xsl) i am > > able to catch them by the use of error listner. Now > > the issue is in case of transformation exceptions say i use a > > extension > > function and that java class is not is not in classpath then there is > > exception printed in console but no exception is thrown. How can i > > handle > > these transformtion time exceptions. > > > > Thanks in Advance for any help. > > Pankaj > > > > >