tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 51523] ClassNotFoundException when loading TLD listeners
Date Tue, 19 Jul 2011 17:00:09 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=51523

Mark Thomas <markt@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |INVALID

--- Comment #6 from Mark Thomas <markt@apache.org> 2011-07-19 17:00:09 UTC ---
Tracked it down.

The TLD provided by the JAR you are using is invalid. If you follow the
definitions in the XSDs you'll eventually see that leading and trailing
whitespace should not be present.

Since this is an invalid TLD Tomcat will not be adding a work-around for this.
Tomcat very rarely adds workarounds for bugs in third-party
applications/libraries.

The reason I wasn't seeing it is that I always run Tomcat with
-Dorg.apache.catalina.STRICT_SERVLET_COMPLIANCE="true"
Amongst other things, this configures the XML parsers to use the slower but
specification compliant settings of validation=true and namespaceAware=true.
With these settings the parsers remove leading and trailing whitespace.

One work-around that is available to you is to enable STRICT_SERVLET_COMPLIANCE
or configure appropriate XML validation for the specific context. Help with
either of those options is available on the users mailing list.

-- 
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message