map:serialize http 404 status code in map:handle-errors

2011-09-09 Thread Brecht Schoolmeesters
Hi, I think there is a bug in cocoon. When I try the following, the cocoon server returns http status code 200. It should return http 404:  map:handle-errors         map:generate src=error.xml/         map:serialize type=xml status-code=404/ /map:handle-errors This is very strange because

Re: map:serialize http 404 status code in map:handle-errors

2011-09-09 Thread Thorsten Scherler
On Fri, 2011-09-09 at 10:20 +0200, Brecht Schoolmeesters wrote: Hi, I think there is a bug in cocoon. When I try the following, the cocoon server returns http status code 200. It should return http 404: map:handle-errors map:generate src=error.xml/ map:serialize

Cocoon 2.2 production server configuration

2011-09-09 Thread Brecht Schoolmeesters
Hi, we are currently using cocoon for transforming source xml files into xml files in a different format. The transformations are pretty heavy because data from other xml files is inserted and also transformed. When using cocoon on our test server, we saw that the memory usage was peaking at

map:serialize http 404 status code in map:handle-errors

2011-09-09 Thread Brecht Schoolmeesters
Hi, I think there is a bug in cocoon. When I try the following, the cocoon server returns http status code 200. It should return http 404: map:handle-errors map:generate src=error.xml/ map:serialize type=xml status-code=404/ /map:handle-errors This is very strange because when

Re: map:serialize http 404 status code in map:handle-errors

2011-09-09 Thread Brecht Schoolmeesters
We are using cocoon 2.2 On Fri, Sep 9, 2011 at 10:34 AM, Thorsten Scherler scher...@gmail.comwrote: On Fri, 2011-09-09 at 10:20 +0200, Brecht Schoolmeesters wrote: Hi, I think there is a bug in cocoon. When I try the following, the cocoon server returns http status code 200. It should