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=24009>. 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=24009 Jasper option for "whitespace-optimized" HTML output ------- Additional Comments From [EMAIL PROTECTED] 2003-10-30 23:22 ------- There should be at least one option to not generate empty lines for JSP directives. Most of the JSP pages have lots of directives at the top of the page (includes, taglibs, ...) and there is one empty line generated for every directive. Aside from esthetic reasons (when you look at the source of the page first you don't see anything because there are many empty lines at the beginnig) there is a real issue with XHTML and Internet Explorer. While this is an Internet Explorer bug (apparently they call it a feature), it sourfaces mainly with JSP pages. IE is ignoring the Content-Type header and is guessing the page type by scanning its start. It explicitly looks for the 'html' tag. If this tag is too far down the road (because of too many blank lines) IE will give up and treat the page as raw XML. Having an option in the JSP compiler to remove the new lines for the lines containing only a JSP directive will solve this issue with IE and also make the source more readable. I am not too sure if I should open another issue for this, I had the feeling that this is related to white space optimization. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]