Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 92932 invoked by uid 500); 14 Mar 2003 13:53:47 -0000 Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-dev@xml.apache.org Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 92919 invoked from network); 14 Mar 2003 13:53:47 -0000 Received: from mail.s-und-n.de (212.8.217.2) by daedalus.apache.org with SMTP; 14 Mar 2003 13:53:47 -0000 Received: from mail.s-und-n.de (localhost [127.0.0.1]) by mail2.s-und-n.de (postfix) with ESMTP id D0B179C1FB for ; Fri, 14 Mar 2003 14:53:46 +0100 (CET) Received: from notes.sundn.de (ntsrv5.sundn.de [10.10.2.10]) by mail.s-und-n.de (postfix) with ESMTP id 409359C1E8 for ; Fri, 14 Mar 2003 14:53:46 +0100 (CET) Received: from hw0386 ([10.10.2.66]) by notes.sundn.de (Lotus Domino Release 5.0.8) with SMTP id 2003031414534459:9810 ; Fri, 14 Mar 2003 14:53:44 +0100 From: "Carsten Ziegeler" To: Subject: RE: [RT] Flow as a block Date: Fri, 14 Mar 2003 14:54:17 +0100 Message-ID: MIME-Version: 1.0 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <3E71DC0F.5040102@apache.org> X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal X-MIMETrack: Itemize by SMTP Server on PBSN1/Systeme und Netzwerke(Release 5.0.8 |June 18, 2001) at 14.03.2003 14:53:44, Serialize by Router on PBSN1/Systeme und Netzwerke(Release 5.0.8 |June 18, 2001) at 14.03.2003 14:53:46, Serialize complete at 14.03.2003 14:53:46 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Stefano Mazzocchi wrote: > > But: during the last two years, from time to time I had the need > > to extend the sitemap syntax, because that would have made some things > > much more easier. As it was not possible, we used some other methods > > like actions etc. > > Having a solid contracts doesn't mean we can't extend it if a real need > emerges. > > I'll be happy to discuss any needs for changes that appeared in > your needs. > Thanks. Currently, I simply don't have time to write my thoughts down, but when the time comes, I will post my RTs. > > Ok. How can we then make flow a block (or a module)? > > Create a way to have internal parts of cocoon to be removed at > compile time. > > The sitemap semantics remain the same: just like we don't remove > map:act, we don't remove map:flow but cocoon will run even if there is > no rhyno in the classpath and will give you an error message like > > 'flow is not supported in this build' > > or something like that. The same can be done for actions. > > so, if you want to ship your cocoon without stuff you do the equivalent of > > ./configure --disable-flow --disable-xsp > > What do you think? > Ah, ok - so, basically like using the fop serializer when fop is not available. Hmm, for making flow etc. optional, this is ok. So, yes, agreed. This has of course the danger, that some clever users start moving out not only actions (like you want), but readers, selectors or matchers etc. But it's up to us, to decide what Cocoon as a project makes optional. ok. So, perhaps Sylvain has a clever idea on how to implement this in the treeprocessor. Some kind of delegation perhaps? Carsten