Return-Path: Delivered-To: apmail-jakarta-velocity-user-archive@www.apache.org Received: (qmail 37246 invoked from network); 9 Dec 2004 22:29:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 9 Dec 2004 22:29:35 -0000 Received: (qmail 355 invoked by uid 500); 9 Dec 2004 22:29:29 -0000 Delivered-To: apmail-jakarta-velocity-user-archive@jakarta.apache.org Received: (qmail 329 invoked by uid 500); 9 Dec 2004 22:29:29 -0000 Mailing-List: contact velocity-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Velocity Users List" Reply-To: "Velocity Users List" Delivered-To: mailing list velocity-user@jakarta.apache.org Received: (qmail 314 invoked by uid 99); 9 Dec 2004 22:29:29 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of shinobu.kawai@gmail.com designates 64.233.170.204 as permitted sender) Received: from rproxy.gmail.com (HELO rproxy.gmail.com) (64.233.170.204) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 09 Dec 2004 14:29:27 -0800 Received: by rproxy.gmail.com with SMTP id a41so674954rng for ; Thu, 09 Dec 2004 14:29:25 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=ImcstxACuK05v0PwHwtUeJGjfSf24xBWX634iMt+7XziKI2AmWPc3+sTNeCII9XRFzqnAdjQm1/HL1a2CqarBI46Ipqk1ensPqpCFShxvN0aKUvmnt20P6ooVB1TF8TXHNvA46JeiMQ/gMORDHSmRKAMGuYlN6+8wrUM5Fm+4E4= Received: by 10.38.90.75 with SMTP id n75mr1058523rnb; Thu, 09 Dec 2004 14:29:25 -0800 (PST) Received: by 10.38.73.28 with HTTP; Thu, 9 Dec 2004 14:29:24 -0800 (PST) Message-ID: <376e3b1404120914292ec1b325@mail.gmail.com> Date: Fri, 10 Dec 2004 07:29:24 +0900 From: Shinobu Kawai Reply-To: Shinobu Kawai To: Velocity Users List Subject: Re: EscapeTool (and velocity-tool best practices) In-Reply-To: <003801c4de16$f0fee560$667ba8c0@Apollo> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <0412081521.AA3448460@pavilion> <4d651da50412081702d2ddcda@mail.gmail.com> <003801c4de16$f0fee560$667ba8c0@Apollo> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi Will, > To carry this further, I've proposed previously that the "==" operator have > a fallback to toString equality. In other words if the user does > #if ($a == $b) > > If a and b are the same class, it should call equals(), but otherwise it > should call toString.equals(). Here's a somewhat related bugzilla issue: http://issues.apache.org/bugzilla/show_bug.cgi?id=32179 (Workaround the lack of equality in CharSequence.) Best regards, -- Shinobu Kawai -- Shinobu Kawai --------------------------------------------------------------------- To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: velocity-user-help@jakarta.apache.org