Strange, just tried it in Cocoon 2.2 with that class but it returned a 500 for 
me.

At the bottom of my sitemap:
<map:pipeline>
        <map:handle-errors when="always">
          <map:generate src="sitemap.xmap"/>
          <map:serialize type="html" status-code="500"/>
          </map:handle-errors>
        </map:pipeline> 


Jasha Joachimsthal 
 
[EMAIL PROTECTED] - [EMAIL PROTECTED]
 
www.onehippo.com
Amsterdam - Hippo B.V. Oosteinde 11 1017 WT Amsterdam +31(0)20-5224466 
San Francisco - Hippo USA Inc. 101 H Street, suite Q Petaluma CA 94952-3329 +1 
(707) 773-4646



> -----Original Message-----
> From: Kjetil Kjernsmo [mailto:[EMAIL PROTECTED] 
> Sent: vrijdag 17 oktober 2008 13:59
> To: [email protected]
> Subject: Re: Send status code with error handler
> 
> On Friday 17 October 2008 12:58:03 Jasha Joachimsthal wrote:
> > Strange, we've been using this for a long time. Can you see in 
> > map:components which class the html serializer is. Which Cocoon 
> > version are you using?
> 
> It is org.apache.cocoon.serialization.HTMLSerializer, and 
> this is Cocoon 2.2.0.
>     
> 
> Kind regards 
> 
> Kjetil Kjernsmo
> -- 
> Senior Knowledge Engineer
> Mobile: +47 986 48 234
> Email: [EMAIL PROTECTED]   
> Web: http://www.computas.com/
> 
> |  SHARE YOUR KNOWLEDGE  |
> 
> Computas AS  PO Box 482, N-1327 Lysaker | Phone:+47 6783 1000 
> | Fax:+47 6783 
> 1001
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

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

Reply via email to