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=12469>. 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=12469 Whitespace has different definition in XML and Java Summary: Whitespace has different definition in XML and Java Product: Tomcat 5 Version: Nightly Build Platform: All OS/Version: All Status: NEW Severity: Minor Priority: Other Component: Jasper2 AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] According to the JSP spec [5.2.1] in a JSP Document, all textual nodes which contain only whitespace, except for jsp:text, are dropped. However the definition of whitespace is not the same as that of Java. The formfeed character is NOT a whitespace character in XML, and is in Character.isSpace(). The JSP spec actually calls these out literally. Yes, this is anal. I was only looking at it because isSpace is also happens to be a deprecated method. Patch will be attached. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>