Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 66804 invoked from network); 8 Aug 2007 12:32:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Aug 2007 12:32:36 -0000 Received: (qmail 90409 invoked by uid 500); 8 Aug 2007 12:32:34 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 90347 invoked by uid 500); 8 Aug 2007 12:32:34 -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 List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 90336 invoked by uid 99); 8 Aug 2007 12:32:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Aug 2007 05:32:34 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [68.230.240.9] (HELO eastrmmtao103.cox.net) (68.230.240.9) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Aug 2007 12:32:27 +0000 Received: from eastrmimpo01.cox.net ([68.1.16.119]) by eastrmmtao103.cox.net (InterMail vM.7.08.02.01 201-2186-121-102-20070209) with ESMTP id <20070808123206.XXTD10435.eastrmmtao103.cox.net@eastrmimpo01.cox.net> for ; Wed, 8 Aug 2007 08:32:06 -0400 Received: from mybook.local ([24.255.120.190]) by eastrmimpo01.cox.net with bizsmtp id ZQY51X00N46aSr40000000; Wed, 08 Aug 2007 08:32:06 -0400 Message-ID: <46B9B7B2.8000701@reverycodes.com> Date: Wed, 08 Aug 2007 08:31:46 -0400 From: Vadim Gritsenko User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: What's the use of fillContext method References: <46B254A8.2050604@tuffmail.com> <46B470CA.9050808@nada.kth.se> <46B5B18A.3010203@apache.org> <46B5EFB0.9040108@nada.kth.se> <46B83C09.6080400@apache.org> In-Reply-To: <46B83C09.6080400@apache.org> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Grzegorz Kossakowski wrote: > Daniel Fagerstrom pisze: >> What is most complicated (and something we maybe don't have to care >> about), is making the right component parameters available while >> executing a pipeline. Can you explain what are those 'component parameters' to be made available during pipeline execution? Do they exist in 2.1? >> To get it right we need something like: >> >> Generator -> EnvironmentChanger -> Transformer -> EnvironmentChanger >> -> ... -> EnvironmnetChanger -> Serializer >> >> where the EnvironmentChanger wraps the XMLConsumer for the next >> component and pops the current component parameters and push the ones >> for the next component for each SAX event. See >> o.a.c.environment.internal for some such code. There is also a fair >> amount of environment changing code in pipelines in the abandoned VPC >> code >> http://svn.apache.org/repos/asf/cocoon/whiteboard/virtual-processing-components/. >> >> >> Kind of complicated I'm afraid. But handling of sitemap component >> parameters is one of the more complicated areas in Cocoon. >> >> WDYT? It looks *very* heavy, especially since it's done for *each* sax event on *each* step of the pipeline. I'd like to avoid doing stuff like this as far as possible. Vadim