https://bz.apache.org/bugzilla/show_bug.cgi?id=62090
--- Comment #4 from Slava Risenberg <slava.risenb...@gmail.com> --- There are two issues to consider: 1. Don't think that enabling XML validation rapidly against DTD is a good idea, Tomcat has a large user base and I assume that a lot of users have broken/invalid web.xml file that would fail the validation. 2. It is possible to add manual validation, as originally suggested by Coty Sutherland, handle it nicely instead of throwing NPE, and print meaningful error in log. As this bug/issue is marked as beginner-friendly I could do that, what do you think? -- 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