https://bz.apache.org/bugzilla/show_bug.cgi?id=64056
Bug ID: 64056 Summary: JSP compiler not rendering spaces Product: Tomcat 7 Version: 7.0.96 Hardware: PC Status: NEW Severity: normal Priority: P2 Component: Jasper Assignee: dev@tomcat.apache.org Reporter: velt...@gmail.com Target Milestone: --- Created attachment 36953 --> https://bz.apache.org/bugzilla/attachment.cgi?id=36953&action=edit jsp Hello Im using Tomcat 9 with Liferay 6.0.2 GA6 I noticed a problem with a JSP compilation. I have this start.jsp very simple: <%-- /** * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ --%> <%@ include file="/html/taglib/aui/col/init.jsp" %> <div class="span<%= span %> <%= cssClass %>" id="<%= id %>" <%= InlineUtil.buildDynamicAttributes(dynamicAttributes) %>> when it is compiled I obtain the following code: […] out.write("<div class=\"span"); out.print( span ); out.print( cssClass ); out.write("\" id=\""); out.print( id ); out.write('"'); out.write(' '); out.print( InlineUtil.buildDynamicAttributes(dynamicAttributes) ); out.write('>'); as you can see between the span and the cssClass there are no spaces but the JSP states : class="span<%= span %>XXXXMISSING SPACEXXXX<%= cssClass %>" I think this is a regression because the older Tomcat bundled with liferay (Tomcat 7.0.42) works correctly. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org