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. <img>, and some browsers,
this causes different display behavior.


Yoav Shapira Millennium Research Informatics




-----Original Message-----
From: Brad Neuberg [mailto:[EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to