https://bz.apache.org/bugzilla/show_bug.cgi?id=62721
Bug ID: 62721 Summary: Jasper generates incomplete web.xml 3.1 header Product: Tomcat 8 Version: 8.5.32 Hardware: PC OS: Mac OS X 10.1 Status: NEW Severity: normal Priority: P2 Component: Jasper Assignee: dev@tomcat.apache.org Reporter: bonha...@thirdeyeconsulting.com Target Milestone: ---- Since 8.5.32, Jasper generates an incomplete web.xml 3.1 header: <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" <servlet> <servlet-name>org.apache.jsp.health_jsp</servlet-name> <servlet-class>org.apache.jsp.health_jsp</servlet-class> </servlet> ... </web-app> I believe the cause is the missing backslash on the second line of the jspc.webxml.header properties in LocalStrings.properties: jspc.webxml.header=<?xml version="1.0" encoding="{0}"?>\n\ <web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" \ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\n\ \ xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee\n\ \ http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"\n\ \ version="3.1"\n\ \ metadata-complete="false">\n\ <!--\n\ Automatically created by Apache Tomcat JspC.\n\ -->\n\ \n -- 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