At 11:49 am -0500 19/3/02, Vadim Gritsenko wrote: >> From: Peter Royal [mailto:[EMAIL PROTECTED]] >> >> If you're lucky, and do you do get an error >> once the pipeline has started, as long as the response has not been >commited, > >You can increase your changes (and decrease perceived performance) by >boosting serializer buffer size. > > >> you can still get a redirect to the handle-errors pipeline safely.
Ah Ha, maybe the penny dropped! Could this be done on a single intenal pipeline, ie. this: <!-- Pre Create a Preview Document out of a Request validate it --> <map:match pattern="content-pre(*,**)"> <map:generate src="cocoon:/request-pre({1})"/> <map:transform src="cocoon:/make-validator({1})"/> <map:transform src="editor/stylesheets/validationFilter.xsl"/> <map:serialize type="xml"/> </map:match> calls: <!-- Alpha Editor, using the StreamGenerator --> <map:match pattern="request-*(alpha)"> <map:act type="request"> <map:parameter name="parameters" value="true"/> <map:generate type="stream"> <map:parameter name="form-name" value="{xml-field-name}"/> </map:generate> <map:transform src="editor/stylesheets/stream2editor.xsl"> <map:parameter name="sub" value="alpha"/> <map:parameter name="target" value="{target}"/> <map:parameter name="behaviour" value="{../1}"/> </map:transform> <map:serialize type="massively-buffered-xml"/> </map:act> </map:match> And the request-put(alpha) call could (if the buffer is big enough) return only the <error/>? Thanks regards Jeremy -- ___________________________________________________________________ Jeremy Quinn Karma Divers webSpace Design HyperMedia Research Centre <mailto:[EMAIL PROTECTED]> <http://www.media.demon.co.uk> <phone:+44.[0].20.7737.6831> <pager:[EMAIL PROTECTED]> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]