Back-port from XML processing improvements (part 6)
Upgrade digester to use DefaultHandler2 and use LexicalHandler to detect publicId.
Simplify web application version detection in web.xml
Extracted from a patch by Jeremy Boynes.
Essentially, this is a back-port of http://svn.apache.org/r1547931
Note that the patch contains a number of strictly unnecessary cosmetic changes that have been included to make it simpler to compare the resulting Tomcat 6 code with the current Tomcat 7 code to validate the correctness of the back-port

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@1557710 13f79535-47bb-0310-9956-ffa450edef68
Back-port from XML processing improvements (part 7)
Switch o.a.catalina classes to use the new ErrorHandler
Back-port of http://svn.apache.org/r1547937

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@1557711 13f79535-47bb-0310-9956-ffa450edef68
Back-port from XML processing improvements (part 8)
Switch ParserUtils to use the new ErrorHandler
Back-port of http://svn.apache.org/r1547947 and http://svn.apache.org/r1556840

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@1557714 13f79535-47bb-0310-9956-ffa450edef68
Back-port from XML processing improvements (part 9)
Switch JspDocumentParser to an DefaultHandler2
Back-port of http://svn.apache.org/r1547948

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@1557715 13f79535-47bb-0310-9956-ffa450edef68
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=55973
Fix processing of XML schemas when validation is enabled in Jasper
Back-port of http://svn.apache.org/r1556377

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@1557719 13f79535-47bb-0310-9956-ffa450edef68