Back-port some XML processing improvements (part 1)
The patch could have been smaller but I opted to align some of the code with Tomcat 7 (which meant re-ordering methods in places) to make it easier to compare 6.0.x code with 7.0.x code.
This covers:
 - always process TLDS with a namespace aware parser
 - enable validation with STRICT_SERVLET_COMPLIANCE (Servlet 2.5, SRV.14.4.3)

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@1556585 13f79535-47bb-0310-9956-ffa450edef68
Back-port some XML processing improvements (part 2)
JspC passes configuration with ServletContext init params so a real implementation is required. This is essentially a back-port of http://svn.apache.org/r1552306

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@1556589 13f79535-47bb-0310-9956-ffa450edef68
Avoid possible NPE when a content type with no charset is specified
(Followup to r1548971)

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