https://issues.apache.org/bugzilla/show_bug.cgi?id=51523
Mark Thomas <ma...@apache.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |INVALID --- Comment #6 from Mark Thomas <ma...@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-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org