Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 15475 invoked from network); 16 Oct 2003 14:52:36 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 16 Oct 2003 14:52:36 -0000 Received: (qmail 83494 invoked by uid 500); 16 Oct 2003 14:52:12 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 83444 invoked by uid 500); 16 Oct 2003 14:52:11 -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 83413 invoked from network); 16 Oct 2003 14:52:11 -0000 Received: from unknown (HELO mail.ibiblio.org) (152.2.210.112) by daedalus.apache.org with SMTP; 16 Oct 2003 14:52:11 -0000 Received: from apache.org (e004.dhcp212-198-17.noos.fr [212.198.17.4]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mail.ibiblio.org (Postfix) with ESMTP id 5500824B238 for ; Thu, 16 Oct 2003 10:52:13 -0400 (EDT) Message-ID: <3F8EB120.2090806@apache.org> Date: Thu, 16 Oct 2003 16:54:24 +0200 From: Stephen McConnell User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en, en-us MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: Fortress Migration Strategy References: <000d01c393be$01da5120$0801a8c0@lagrange> In-Reply-To: <000d01c393be$01da5120$0801a8c0@lagrange> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Leo Sutic wrote: >>From: Carsten Ziegeler [mailto:cziegeler@s-und-n.de] >> >> So in this sax streaming we have a class called >> EnvironmentChanger that takes care that the current collection >> used is the correct one. >> So if the sub request sends an event to the main request, >> a pointer is set pointing to the collection of the main >> request. When this event is finished it is reset. >> >> > >OK... So, if I understand this right, then the entry-exit from these >environment "bubbles" are method call and return, respectively? I.e. >Pipeline stage A (a generator) has its own Environment, and when it >calls startElement on stage B (in another request) then you switch >Environment? And you switch back when the thread returns to A? > >Could this not be realized via interceptors? > > I'm thinking exactly the same thing. Steve. >/LS > > > > -- Stephen J. McConnell mailto:mcconnell@apache.org