cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 6789] - whitespace outside tags in XSPs generates superfluous code
Date Mon, 23 Feb 2004 19:45:55 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6789>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6789

whitespace outside tags in XSPs generates superfluous code





------- Additional Comments From guillaume@anyware-tech.com  2004-02-23 19:45 -------
Vadim and I apparently do not speak about the same thing:

I speak about the whitespace around the application-specific XML tags and the
XSP XML tags that will be part of the produced document.

Vadim speaks about the whitespace around the Java code text.

I would like to get the first type removed. This is the one that generates lots
of SAX "characters" method calls in the generated Java class. In some cases,
especially when the generated XML is not mixed content, preserving whitespace
between tags is not important. In some big structural XML documents this could
be a big win, both memory- and speed-wise.

The second one could not care less to me as it is lost upon compilation of the
generated Java class, thus bringing no performance penalty after compilation.

Mime
View raw message