Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 49641 invoked from network); 8 Sep 2004 17:56:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 8 Sep 2004 17:56:17 -0000 Received: (qmail 84917 invoked by uid 500); 8 Sep 2004 17:55:05 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 84849 invoked by uid 500); 8 Sep 2004 17:55:05 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 84724 invoked by uid 99); 8 Sep 2004 17:55:03 -0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=DATE_IN_PAST_96_XX X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [209.61.132.12] (HELO server1.livestoryboard.com) (209.61.132.12) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 08 Sep 2004 10:55:02 -0700 Received: from [127.0.0.1] (livestoryboard.com [209.61.132.12] (may be forged)) (authenticated) by server1.livestoryboard.com (8.11.6/8.11.6) with ESMTP id i88I1hG09862 for ; Wed, 8 Sep 2004 13:01:43 -0500 Message-ID: <411669F2.3080806@koberg.com> Date: Sun, 08 Aug 2004 10:59:14 -0700 From: Robert Koberg User-Agent: Mozilla Thunderbird 0.7 (Macintosh/20040616) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tomcat Users List Subject: JSP XML syntax -> was ->Re: JSP Compiler produces huge HTML files with whitespace References: <9C5166762F311146951505C6790A9CF80229C07F@US-VS1.corp.mpi.com> In-Reply-To: <9C5166762F311146951505C6790A9CF80229C07F@US-VS1.corp.mpi.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, If you use the XML syntax you can handle whitespaces nicely. There are times when you want/need whitespace to remain, so managing it with the XML syntax is better, imho. Are people using the XML syntax? best, -Rob Shapira, Yoav wrote: >Hola, >I'm not a Jasper expert, my guess is for two reasons: >- It's a slight performance hit > >- There's a slight change of bugs or sub-optimal behavior. For example >a subtle one was pointed out the other day: with trimSpaces on, >${something} followed by a space becomes just ${something} without a >space after it. But for some HTML tags, e.g. , and some browsers, >this causes different display behavior. > > >Yoav Shapira >Millennium Research Informatics > > > > >>-----Original Message----- >>From: Brad Neuberg [mailto:bkn3@columbia.edu] >>Sent: Wednesday, September 08, 2004 1:45 PM >>To: Tomcat Users List >>Subject: RE: JSP Compiler produces huge HTML files with whitespace >> >>Yoav, thanks; this works. One question; why isn't this true by >> >> >default? > > >>Brad >> >>At 09:56 AM 9/8/2004, you wrote: >> >> >> >>>Hi, >>>trimSpaces at >>>http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jasper-howto.html. >>> >>>Yoav Shapira >>>Millennium Research Informatics >>> >>> --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org