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=4546>.
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=4546

normalize-space does not properly handle text data





------- Additional Comments From [EMAIL PROTECTED]  2002-04-22 15:32 -------
I could swear we had tested all the possible cases, but apparently we missed the 
case of a chunk starting with whitespace immediately following a chunk that 
ended in non-whitespace. The comments tend to confirm that; we're reaching "// 
Start of non-whitespace data (if any)" with whitespace present.

Modifying the section which handles leading whitespace to handle this situation 
does look reasonable. It may be possible to microoptimize the scan loop just 
slightly, taking advantage of the fact that the first character has already been 
tested... but that's a nitpick.

Good catch. Thanks for tracking this down.

Reply via email to