On Mar 19, 2008, at 5:39 AM, [EMAIL PROTECTED] wrote:
Author: reinhard
Date: Wed Mar 19 02:39:07 2008
New Revision: 638759
URL: http://svn.apache.org/viewvc?rev=638759&view=rev
Log:
fix a rather obscure problem with per-pipeline error handlers:
If there is a per-pipeline handler in the last! pipeline of a
sitemap,
it also handled ResourceNotFoundExceptions although it is not
responsible for it.
The solution is to move throwing this exception outside of the catch
section which is responsible for catching pipeline errors.
You probably forgot that this was done intentionally. After your
change, error handlers do not work anymore the way they were supposed
to work (starting with Cocoon 2.0). Try this URL:
http://localhost:8888/foo
It soon also should be available on zones (zones did not pick up this
changes yet):
http://cocoon.zones.apache.org/demos/trunk/foo
Vadim