You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2002/10/20 21:00:30 UTC
DO NOT REPLY [Bug 13797] New: -
Whitespace inserted in random location into the output stream
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=13797>.
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=13797
Whitespace inserted in random location into the output stream
Summary: Whitespace inserted in random location into the output
stream
Product: Tomcat 4
Version: 4.0.4 Final
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Normal
Priority: Other
Component: Unknown
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: dcherk@djinnsoft.com
Attached are three versions of the same HTML output. The only difference is
the static content of the files (i.e just plain text that I typed in to change
the size of the page).
Note that considerable amount of whitespace is inserted by tomcat in several
locations, even in the middle of tags (e.g <ta [whitespace] ble>).
For convenience, here are the location of the whitespace in the stream, in
terms of character count from start of file:
Sample 1:
0 -> 387
16755 -> 16916
25108 -> 25150
Sample 2:
0 -> 402
16769 -> 16888
25080 -> 25164
Sample 3:
0 -> 402
16776 -> 16860
25052 -> 25164
If the page directive <%@ page buffer="48kb" %> is placed in the JSP page, the
whitespace is illiminated.
The fact that the whitespace occurs in approximately the same location, and
that increasing the page buffer temporarily resolves the problems leads me to
believe that the problem is with the buffering mechaninsm.
Thanks,
Dave Cherkassky
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>