Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 50438 invoked from network); 4 Dec 2004 19:35:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 4 Dec 2004 19:35:28 -0000 Received: (qmail 19897 invoked by uid 500); 4 Dec 2004 19:35:04 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 19811 invoked by uid 500); 4 Dec 2004 19:35:04 -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 19760 invoked by uid 99); 4 Dec 2004 19:35:03 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from garuda-95.cablenet.com.ni (HELO ags01.agsoftware.dnsalias.com) (165.98.147.95) by apache.org (qpsmtpd/0.28) with ESMTP; Sat, 04 Dec 2004 11:35:02 -0800 Received: from ags01.agsoftware.dnsalias.com (localhost.localdomain [127.0.0.1]) by ags01.agsoftware.dnsalias.com (8.12.11/8.12.10) with ESMTP id iB4JYuMA009306 for ; Sat, 4 Dec 2004 13:34:56 -0600 Received: (from apache@localhost) by ags01.agsoftware.dnsalias.com (8.12.11/8.12.11/Submit) id iB4JYtrB009305; Sat, 4 Dec 2004 13:34:55 -0600 X-Authentication-Warning: ags01.agsoftware.dnsalias.com: apache set sender to agallardo@agssa.net using -f Received: from 10.0.0.5 (SquirrelMail authenticated user agallardo); by www.agssa.net with HTTP; Sat, 4 Dec 2004 13:34:55 -0600 (CST) Message-ID: <33214.10.0.0.5.1102188895.squirrel@www.agssa.net> In-Reply-To: <41B1E441.2010800@nada.kth.se> References: <32854.10.0.0.5.1102175277.squirrel@www.agssa.net> <41B1E441.2010800@nada.kth.se> Date: Sat, 4 Dec 2004 13:34:55 -0600 (CST) Subject: Re: JXTG: Imposible test case. From: "Antonio Gallardo" To: dev@cocoon.apache.org User-Agent: SquirrelMail/1.4.3a-6.FC2 X-Mailer: SquirrelMail/1.4.3a-6.FC2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Sab, 4 de Diciembre de 2004, 10:22, Daniel Fagerstrom dijo: > Antonio Gallardo wrote: >> Hi: >> >> I remember some threads related to the (ab)use of too many syntaxes in >> Cocoon. Is posible to point to some imposible constructions in the >> current JXTG? Perhaps my narrow mind don't allow me to see them. What I >> see is a lot of similar languages with diferent syntax sugar: velocity, >> jelly, TAL, etc. Please don't get me wrong. I want to help too. I need >> to >> see some use cases first. :-D > > No constructions that anyone has required are imposible in JXTG syntax > AFAIK. It is rather that some people want to be able to edit the > template in Dreamweaver and similar tools. I never used Dreamwaver (not sure if this is a shame to me). What I use is jEdit - http://www.jedit.org/ . It is only a 2.5MB java installer + some cool plugins. If what we need is a syntax checker + highlighting for JTXG, we can write it for jEdit: http://www.jedit.org/42docs/api/org/gjt/sp/jedit/syntax/package-summary.html It is easier that refactor a language just to fit in a tool. BTW, I never heard about a similar case before. ;-) > And if one put the directives > in attributes instead of elements with special namespaces that works > much better. The attribute based languages might be less verbose and > easier to read also. Why? To me this a matter of taste. > I think, as I hinted about in my RT about Attribute Driven Templates, > that we basically can allow both attribute driven and tag driven > templates from the same implementation. If people blame us because they can use #{$...} or ${...} I don't know what to expect by adding new istructions syntax. The result seems to be: "more troubles than help." > So we could resue the JXTG tags as attribute directives and > avoid the need for maintaining double implementations. See the last comment. While I understand a potentiall "gain" from the developers POV. I see a nightmare for users. ;-) Best Regards, Antonio Gallardo.