cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Johnston <coc...@lojjic.net>
Subject Re: Cocoon exception handling.
Date Tue, 11 Oct 2005 13:16:39 GMT
Peter van Hardenberg wrote:
> Hello,
> 
> I'm using a secondary data-driven XSLT to provide annotations for my document 
> pages (thanks, Conal) but when the annotations are not present, it throws an 
> exception which kills the pipeline. 
> 
> Now, I thought the best way to deal with that would be to handle the exception 
> in the annotation pipeline, detect when the file is missing and simply return 
> an ID transform instead of one that does something.
> 
> Unfortunately, I can't get it to work at all. I simply can't get the 
> "identity.xslt" to ever get returned! I would be very appreciative of any 
> advice you guys can give.


I found the following item in the release notes for 2.1.7:

> *) Implemented error handling for the internal requests. Error handling for the \
> internal requests configured using when attribute on the handle-errors element. \
> Supported values are: external: This error handler should be used only on external \
> requests (default); internal: This error handler should be used only on internal \
> requests; always: This error handler can be used for all requests. Currently, if \
> internal error handling is enabled, only inner most error handler will be used for \
> errors which happened during internal pipeline processing. [VG]

Does that help?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message