Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 83554 invoked from network); 23 Jan 2005 10:08:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 23 Jan 2005 10:08:22 -0000 Received: (qmail 85559 invoked by uid 500); 23 Jan 2005 10:08:20 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 85528 invoked by uid 500); 23 Jan 2005 10:08:20 -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 85515 invoked by uid 99); 23 Jan 2005 10:08:20 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from essemtepe.nada.kth.se (HELO smtp.nada.kth.se) (130.237.222.115) by apache.org (qpsmtpd/0.28) with ESMTP; Sun, 23 Jan 2005 02:08:19 -0800 X-Authentication-Info: The sender was authenticated as danielf using PLAIN at smtp.nada.kth.se Received: from [83.226.248.219] (localhost [127.0.0.1]) (authenticated bits=0) by smtp.nada.kth.se (8.12.10/8.12.11) with ESMTP id j0NA84lu023715; Sun, 23 Jan 2005 11:08:05 +0100 (MET) Message-ID: <41F37797.20800@nada.kth.se> Date: Sun, 23 Jan 2005 11:08:23 +0100 From: Daniel Fagerstrom 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: [RFC] Plugable Expressions References: <41EB9567.60908@nada.kth.se> <41F113F4.5080302@mobilebox.pl> <41F25D26.5060903@nada.kth.se> <41F2A6C8.6020301@mobilebox.pl> In-Reply-To: <41F2A6C8.6020301@mobilebox.pl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Leszek Gawron wrote: > Daniel Fagerstrom wrote: > >> They should, but I don't see how that is related to getNode/getValue? >> jx:set/@value uses getNode and jx:set/* executes the body and put the >> result in a DOM. > > I see. I wasn't aware of the exact implementation here. Sorry for the > noise. > > I have finally started to implement jx:call macro="${name}". > > Some time ago we discussed about implementing an "internal taglib > design". What I mean every instruction was implemented as separate tag > (no new tags could be introduced). Parser would not depend on a specific > set of tags. I'm working on that as you can see in Parser, the only thing that is left to be done is that jx:define need to run some code both in the start and the and tag. I have some ideas about what to do about that but am not sure yet. > Every Instruction in current JXTG apart from jx:macro could > be implemented completely separately. jx:macro depends on jx:parameters > parsed separately so the Parser needs to know the dependency details. > Same goes for future jx:call/jx:parameter. Could we do something about > that? Hopefully but I don't know how yet, I'll research it further. /Daniel