Re: Handling SAX Exceptions in sitemap

2003-11-25 Thread Simon Hutchinson
Joerg Heinicke wrote: On 24.11.2003 12:06, Simon Hutchinson wrote: Hi, Does anyone know if it is possible to handle SAX exceptions thrown by a transformer using a error handler defined in a sitemap. Yes. Here is a brief test to explain what I am trying to achieve. map:pipeline map:match

Handling SAX Exceptions in sitemap

2003-11-24 Thread Simon Hutchinson
Hi, Does anyone know if it is possible to handle SAX exceptions thrown by a transformer using a error handler defined in a sitemap. Here is a brief test to explain what I am trying to achieve. map:pipeline map:match pattern=test map:generate src=fragments/test.xml/ map:transform

Re: Handling SAX Exceptions in sitemap

2003-11-24 Thread Simon Hutchinson
Lionel Crine wrote: hi, If you're using the common xslt transformer, you should look at the source. If the methods don't throw any exception, so you can't catch the exception with the handle-errors. If you're using Cocoon 2.1, you can customize the exception.Search the archive. Lionel At

Re: Handling SAX Exceptions in sitemap

2003-11-24 Thread Joerg Heinicke
On 24.11.2003 12:06, Simon Hutchinson wrote: Hi, Does anyone know if it is possible to handle SAX exceptions thrown by a transformer using a error handler defined in a sitemap. Yes. Here is a brief test to explain what I am trying to achieve. map:pipeline map:match pattern=test