Bug 56199 - Re-implement validateXml option in JspC of Tomcat 8, or remove it from documentation
Summary: Re-implement validateXml option in JspC of Tomcat 8, or remove it from docume...
Alias: None
Product: Tomcat 8
Classification: Unclassified
Component: Jasper (show other bugs)
Version: 8.0.3
Hardware: PC All
: P2 normal (vote)
Target Milestone: ----
Assignee: Tomcat Developers Mailing List
Depends on:
Reported: 2014-02-27 23:38 UTC by Konstantin Kolinko
Modified: 2014-03-05 21:02 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Konstantin Kolinko 2014-02-27 23:38:29 UTC
(In followup to r1570163 )

There are two places where "validateXml" option of Jasper is still mentioned in Tomcat 8:
1) res/deployer/build.xml  line 58
2) webapps/docs/jasper-howto.xml  line 273

In Tomcat 8 Jasper does not parse web.xml when invoked within a web application,
but it parses it when it is invoked as JspC.

In the latter case it makes some sense to restore the "validateXml" option.
The place is  org/apache/jasper/servlet/JspCServletContext # buildMergedWebXml()

> WebXmlParser webXmlParser = new WebXmlParser(false, false, blockExternal);
Comment 1 Konstantin Kolinko 2014-03-03 12:20:21 UTC
This bug is about re-implementing this feature in Tomcat 8,
or cleaning up docs if the feature is not implemented.

Related issue in Tomcat 6 and 7 is tracked as bug 56208.
Comment 2 Mark Thomas 2014-03-05 20:24:44 UTC
I'll re-add the feature to 8.0.x for JspC. Folks using JspC may wish to use validation.
Comment 3 Mark Thomas 2014-03-05 21:02:06 UTC
This has been fixed for 8.0.x and will be included in 8.0.4 onwards.