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 2014/01/13 15:48:59 UTC

[Bug 56000] Tomcat should log xml validation errors by default.

https://issues.apache.org/bugzilla/show_bug.cgi?id=56000

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
While XML validation is required by the Servlet specification, it is disabled
by default for performance reasons. Neither of these facts is unlikely to
change.

You can enable validation on a per context basis using the required combination
of tldValidation, xmlNamespaceAware and xmlValidation (see
http://tomcat.apache.org/tomcat-8.0-doc/config/context.html#Common_Attributes)
or you can start Tomcat with the org.apache.catalina.STRICT_SERVLET_COMPLIANCE
system property set to true which configures various Tomcat options to follow
the strict requirements of the servlet specification rather than then slightly
relaxed default settings (which are that way for performance reasons).

-- 
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