Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 24948 invoked from network); 24 Feb 2005 16:02:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 24 Feb 2005 16:02:04 -0000 Received: (qmail 66582 invoked by uid 500); 24 Feb 2005 16:01:59 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 66407 invoked by uid 500); 24 Feb 2005 16:01:58 -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 66314 invoked by uid 99); 24 Feb 2005 16:01:58 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from matrix15.home.net.pl (HELO matrix15.home.net.pl) (212.85.112.15) by apache.org (qpsmtpd/0.28) with SMTP; Thu, 24 Feb 2005 08:01:56 -0800 Received: from sj162.internetdsl.tpnet.pl (HELO ?192.168.1.62?) (lgawron.mobilebox@home@80.55.87.162) by matrix15.home.net.pl with SMTP; 24 Feb 2005 16:01:51 -0000 Message-ID: <421DFA74.5080904@apache.org> Date: Thu, 24 Feb 2005 17:01:56 +0100 From: Leszek Gawron User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: svn commit: r155189 - in cocoon/trunk/src/blocks/template/java/org/apache/cocoon/template/jxtg: instruction/StartDefine.java script/Parser.java script/event/StartInstruction.java References: <20050224145615.73330.qmail@minotaur.apache.org> <421DEDC3.7020408@apache.org> <421DF996.6020406@nada.kth.se> In-Reply-To: <421DF996.6020406@nada.kth.se> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Daniel Fagerstrom wrote: > Leszek Gawron wrote: > >> lgawron@apache.org wrote: >> >>> Author: lgawron >>> Date: Thu Feb 24 06:56:13 2005 >>> New Revision: 155189 >>> >>> URL: http://svn.apache.org/viewcvs?view=rev&rev=155189 >>> Log: >>> every instruction is being notified of end of parsing. No more Parser >>> dependency on StartDefine. We can introduce configurable tag set now. >> >> >> I cannot find the relevant thread: do we want our instructions' >> configuration to reside in sitemap or be set up in cocoon.xconf? > > > Neither ;) Vadim suggested somewhere that we should do it as in the > treeprocessor, i.e. there is a configuration file > o.a.c.components.treeprocessor.sitemap-language.xml that is included > with the resource protocol in > o.a.c.components.treeprocessor.DefautlTreeBuilder and > o.a.c.components.treeprocessor.TreeProcessor. IIRC Stefano and I and > maybe some others found that a good idea. Tha's a good idea. Could someone tell me how do I reach that configuration from generator? > It makes it easy enough to modify things while it at the same time > indicates that JXTG has a predefined set of instructions. Furthermore I > don't think we should consider the internal interfaces in Template > stable until we have implemented at least one more language (the > attribute template language) in it. Before that it can contain to much > constructions that ties it to ideosyncrasis in JXTG whithout us knowing it. Agreed. -- Leszek Gawron MobileBox lgawron@apache.org http://www.mobilebox.pl