You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2018/09/14 11:02:23 UTC
[Bug 62721] New: Jasper generates incomplete web.xml 3.1 header
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: bonhamcm@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 62721] Jasper generates incomplete web.xml 3.1 header
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62721
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
OS| |All
--- Comment #1 from Mark Thomas <ma...@apache.org> ---
Thanks for the report.
Fixed in:
- trunk for 9.0.13 onwards
- 8.5.x for 8.5.35 onwards
- 7.0.x for 7.0.92 onwards
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 62721] Jasper generates incomplete web.xml 3.1 header
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62721
--- Comment #2 from Chris Bonham <bo...@thirdeyeconsulting.com> ---
Mark,
I believe the backslash is missing in the Spanish, French and Japanese versions
of LocalStrings as well.
Thank you.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 62721] Jasper generates incomplete web.xml 3.1 header
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62721
Chris Bonham <bo...@thirdeyeconsulting.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
OS|Mac OS X 10.1 |Mac OS X 10.13
Hardware|PC |Macintosh
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 62721] Jasper generates incomplete web.xml 3.1 header
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62721
--- Comment #3 from Remy Maucherat <re...@apache.org> ---
Correct but Mark fixed that too.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org