|Summary:||Re-implement validateXml option in JspC of Tomcat 8, or remove it from documentation|
|Product:||Tomcat 8||Reporter:||Konstantin Kolinko <knst.kolinko>|
|Component:||Jasper||Assignee:||Tomcat Developers Mailing List <dev>|
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.