Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 48826 invoked from network); 19 Aug 2007 20:34:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Aug 2007 20:34:24 -0000 Received: (qmail 72473 invoked by uid 500); 19 Aug 2007 20:34:20 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 72379 invoked by uid 500); 19 Aug 2007 20:34: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 List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 72368 invoked by uid 99); 19 Aug 2007 20:34:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Aug 2007 13:34:20 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [66.51.199.25] (HELO mail1.dslextreme.com) (66.51.199.25) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 19 Aug 2007 20:34:43 +0000 Received: (qmail 15451 invoked from network); 19 Aug 2007 20:33:52 -0000 Received: from unknown (HELO [127.0.0.1]) (66.51.196.164) by mail1.dslextreme.com with (RC4-MD5 encrypted) SMTP; Sun, 19 Aug 2007 13:33:52 -0700 Message-ID: <46C8A929.1060506@dslextreme.com> Date: Sun, 19 Aug 2007 13:33:45 -0700 From: Ralph Goers Reply-To: rgoers@apache.org User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: Default Expression Language References: <46C897FD.2030305@nada.kth.se> In-Reply-To: <46C897FD.2030305@nada.kth.se> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org For 2.2 I suggest that what we recommend should be the default. However, it should clearly be documented how to reconfigure to match 2.1. As far as which one to choose, I would look at: 1. Compatible license 2. Documentation 3. Performance 4. Ease of integration. (i.e. doesn't have to be ripped from some other jar, doesn't have a lot of dependencies we don't already have, etc.) Ralph Daniel Fagerstrom wrote: > Thanks to Grzegorz efforts, we are now close to be able to use the > same exprssion language and object model both in the sitemap and in > templates. > > The whole thing is plugable, so those who have large investments in > the current syntax and models can continue using them. > > But while flexibillity is good for back compability it is confusing > for new users. So we should try hard to decide what should be the > default expression language and expression syntax. > > Once I preffered JXPath as my webapps where XML-centric and I used > XSLT and XPath everywhere. But now my webapps is more Java based, so > JEXL or JS seem more natural. Of these I prefer JEXL as JS is a little > bit to powerful as an EL for my taste. > > But is the rest of world really using JEXL, JS or JXPath as ELs? > Wouldn't it be a better idea to use the Unified Expression Language > (EL) of JSP 2.1 (JSR-245) > (http://en.wikipedia.org/wiki/Unified_Expression_Language). To me it > seem like a rather good EL and there are several Apache licenced > implementations, Tomcat has one and there is another one called JUEL > http://juel.sourceforge.net/. > > WDYT? > > /Daniel