Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 43301 invoked from network); 9 Jun 2006 20:05:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 Jun 2006 20:05:04 -0000 Received: (qmail 97043 invoked by uid 500); 9 Jun 2006 20:05:02 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 96691 invoked by uid 500); 9 Jun 2006 20:05:01 -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 96676 invoked by uid 99); 9 Jun 2006 20:05:01 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jun 2006 13:05:01 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [216.191.214.243] (HELO mailwn.dainty.ca) (216.191.214.243) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jun 2006 13:05:00 -0700 Received: from gentoo-server.dainty.ca (gentoo-server.dainty.ca [192.168.202.201]) by mailwn.dainty.ca (8.12.9/8.12.9) with ESMTP id k59Jj6Yx029582 for ; Fri, 9 Jun 2006 15:45:08 -0400 Received: from testip.dainty.ca (testip.dainty.ca [192.168.202.160]) by gentoo-server.dainty.ca (8.12.11/8.12.11) with ESMTP id k59K4cJp023804 for ; Fri, 9 Jun 2006 16:04:42 -0400 From: Adrien Guillon Organization: Dainty Foods (a Division of MRRM Canada Inc.) To: dev@cocoon.apache.org Subject: Re: [Proposal] i18n Transformer: Support Multiple Languages in One Document Date: Fri, 9 Jun 2006 16:07:17 -0400 User-Agent: KMail/1.9.3 References: <200604170830.33518.guila@dainty.ca> <4489D0F5.50408@reverycodes.com> In-Reply-To: <4489D0F5.50408@reverycodes.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200606091607.17212.guila@dainty.ca> X-Virus-Scanned: ClamAV version 0.88.1, clamav-milter version 0.88.1 on mailwn X-Virus-Status: Clean X-Scanned-By: milter-spamc/1.6.369 (mailwn [192.168.202.11]); Fri, 09 Jun 2006 15:45:09 -0400 X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: NO, hits=1.60 required=5.00 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I prefer XSLT... I believe it is much more maintainable if done properly... especially with XSLT and XPath 2.0. I wound up creating my own translation engine in XSLT 2.0, and it works quite well. It only took a couple of hours, whereas the Java code was a mess to trace through... AJ On 9 June 2006 3:50 pm, Vadim Gritsenko wrote: > Peter Hunsberger wrote: > > On 4/17/06, Adrien Guillon wrote: > >> XSLT will be more extensible for site-specific configurations, and > >> more maintainable than the existing Java code. > > > > I don't see that you'd necessarily have to mark the existing > > implementation deprecated. Having the two different versions as > > configurable options might make sense, in particular if there is much > > of a performance difference. Even if there is not, some people may > > not feel that XSLT is "more maintainable" than the existing Java > > code.... > > I can even give some examples of that... > > Sitemap XSLT vs TreeProcessor: Java was considered more maintainable than > XSLT. XSP vs JXTemplate: Ditto. > > Vadim