Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 84590 invoked from network); 19 Aug 2007 19:21:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Aug 2007 19:21:26 -0000 Received: (qmail 98089 invoked by uid 500); 19 Aug 2007 19:21:22 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 98006 invoked by uid 500); 19 Aug 2007 19:21:22 -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 97995 invoked by uid 99); 19 Aug 2007 19:21:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Aug 2007 12:21:22 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [130.237.222.182] (HELO smtp.nada.kth.se) (130.237.222.182) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Aug 2007 19:21:16 +0000 X-Authentication-Info: The sender was authenticated as danielf using PLAIN at smtp.nada.kth.se Received: from [85.225.172.90] (c-5aace155.188-1-64736c14.cust.bredbandsbolaget.se [85.225.172.90]) (authenticated bits=0) by smtp.nada.kth.se (8.12.11.20060308/8.12.11) with ESMTP id l7JJKZUc025264 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 19 Aug 2007 21:20:53 +0200 (MEST) Message-ID: <46C897FD.2030305@nada.kth.se> Date: Sun, 19 Aug 2007 21:20:29 +0200 From: Daniel Fagerstrom User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Default Expression Language Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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