https://issues.apache.org/bugzilla/show_bug.cgi?id=46764
Summary: Tomcat 6 and xmlValidation="false" not working
Product: Tomcat 6
Version: 6.0.18
Platform: HP
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Catalina
AssignedTo: [email protected]
ReportedBy: [email protected]
I have attached a Tomcat 6.0.18 (and TC-Native 1.1.16) with Apache 2.2 using
mod_jk 1.2.27. Tomcat is configured with multiple vhost.
Apache & Tomcat is running in Debian 4 with SUN Java 6.0.
My server.xml looks like this:
...
<Connector port="8009"
enableLookups="false" redirectPort="443" protocol="AJP/1.3"/>
<Engine name="Catalina" defaultHost="localhost">
<Host name="localhost" appBase="webapps"
autoDeploy="false" unpackWARs="false"
xmlValidation="false" xmlNamespaceAware="false"/>
<Host name="other.machine.com" appBase="sharedwebapps"
autoDeploy="false" unpackWARs="false"
xmlValidation="false" xmlNamespaceAware="false"/>
...
When start up Tomcat appear in catalina.out the following errores:
[Fatal Error] loose.dtd:31:3: The declaration for the entity "HTML.Version"
must end with '>'.
My JSP code generated is like this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
But I do not want to validate. Furthermore Tomcat tries to open a connection to
http://www.w3.org making the request is resolved more slowly. If activate the
firewall (DROP OUTPUT connections) will retry the connection for minutes.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]