> From: Jan [mailto:[EMAIL PROTECTED]]
> 
> Hi Vadim,
> 
> Tested it and I think this works fine. Actually I cannot rebuild the
old
> exception for I have changed much by now but it should be quite
similar.
> Your message is now in the logs ... in the browser I still get the old
style
> error (with another cause exception):
> 
> org.apache.cocoon.ProcessingException: Could not read resource
> file:/foobar.xml: java.lang.ArrayIndexOutOfBoundsException
> 
> The reason now is a bug in my Transformer that returns an ending tag
but
> previously has skiped the starting tag.. it seems this leads to an
> ArrayIndexOutOfBoundsException.

FYI: SAXException returns message of the cause exception but prints only
own stacktrace, which is misleading. Hence the patch.

Vadim

> 
> Cheers,
> Jan
> 
> ----- Original Message -----
> From: "Vadim Gritsenko" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, February 11, 2002 7:23 PM
> Subject: RE: [C2] Right behavior regarding a SAXException in a
Transformer
> 
> 
> Hi,
> 
> Try attached patch (patched FileGenerator also included if you do not
> have patch command) and send in back your results with this patch.
> 
> PS Next time use plain text email.
> 
> Regards,
> Vadim


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to