Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 76103 invoked from network); 8 Jun 2004 12:25:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 8 Jun 2004 12:25:36 -0000 Received: (qmail 98101 invoked by uid 500); 8 Jun 2004 12:25:32 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 98031 invoked by uid 500); 8 Jun 2004 12:25:31 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 98005 invoked by uid 99); 8 Jun 2004 12:25:31 -0000 Received: from [212.8.217.2] (HELO mail.s-und-n.de) (212.8.217.2) by apache.org (qpsmtpd/0.27.1) with ESMTP; Tue, 08 Jun 2004 05:25:31 -0700 Received: from notes.sundn.de (ntsrv5.sundn.de [10.10.2.10]) by mail.s-und-n.de (postfix) with ESMTP id A6E1F19F67E for ; Tue, 8 Jun 2004 14:25:18 +0200 (CEST) Received: from hw0386 ([10.10.2.43]) by notes.sundn.de (Lotus Domino Release 6.5) with ESMTP id 2004060814162132-36208 ; Tue, 8 Jun 2004 14:16:21 +0200 From: "Carsten Ziegeler" To: Subject: RE: error handling Date: Tue, 8 Jun 2004 14:25:15 +0200 Organization: S&N AG MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Thread-Index: AcRNSxyLYsrHHBeES+yVeYA8lsuNNwACAJUQ In-Reply-To: <40C5A30D.1070205@vafer.org> X-MIMETrack: Itemize by SMTP Server on PBSN1/Systeme und Netzwerke(Release 6.5|September 26, 2003) at 08.06.2004 14:16:21, Serialize by Router on PBSN1/Systeme und Netzwerke(Release 6.5|September 26, 2003) at 08.06.2004 14:16:21, Serialize complete at 08.06.2004 14:16:21 Message-ID: Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Torsten Curdt wrote: > > Ok, but isn't the "cocoon:" source going back to > treeprocessor after all? Or does it just setup the pipelines? > I thought every request is goint through the TP. > The cocoon: protocol is going through the TP for setting up the pipeline. The assembled pipeline component is returned to the protocol (Source) and from there directly invoked. So during execution of the pipeline the TP is not involved at all. > > > So we can add add handle-errors="always|external|internal" and > > "?cocoon:handle-errors=true", but it will handle errors occuring > > during the _building_ of the pipeline, and not during its > _execution_. > > That's not what I am after. It does not help for error > handling on aggregation. We should aim for the execution time. > Yepp, execution time is imho more important - if we can do both, great :) > > I'd propose to change what needs to be changed. > Yes :) I think, Sylvain outlined here http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=107876029119774&w=2 what has to be done. It should be fairly easy to add this to control the error handling at execution time. Controlling the error handling on construction time is very easy as well. If we add this to 2.2-dev we can change things anyway (even interfaces if required). Carsten