In my 2.0 setup, I had a map:handle-errors with a simple map:read of an html 
file. This worked fine. However, with 2.0.1, this no longer compiles. I 
looked in the documentation (yes, really!): sitemap.html describes something 
called map:error-handler (I assume this is an, er, error) and says that 

"you do not define a generator inside the error handler. Beside this 
issue you configure the error handler like a pipeline. Thus you can choose 
your transformer, and serializer, and all other features of pipeline 
processing"

If I look in the DTD on the other hand it tells me I can have generators, 
xformers and serializers (sic: what would I do with more than 1 serializer?). 
I tried adding read to the DTD but this had no effect - which didn't surprise 
me, as afaics the DTD isn't actually used by anything.

Although read would, istm, be the simplest way of handling page not found 
errors, what I actually want to do is an aggregate, but the compiler doesn't 
like that either. Nor does it like a redirect or the cocoon:/ protocol.

So, how can I get a handle on this error, and handle without error those 
errors that the handle-errors error-handler won't handle?  ;-)

---------------------------------------------------------------------
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