https://issues.apache.org/bugzilla/show_bug.cgi?id=52474

--- Comment #3 from Helio Frota <heliofr...@gmail.com> 2012-01-18 10:26:50 UTC 
---
Hello Mark Thomas,

Servlet specification 2.5:

"SRV.13.2

Rules for Processing the Deployment Descriptor

This section lists some general rules that Web containers and developers must
note concerning the processing of the deployment descriptor for a Web
application.

• Web containers must remove all leading and trailing whitespace, which is de-
fined as “S(white space)” in XML 1.0 (http://www.w3.org/TR/2000/WD-xml-
2e-20000814), for the element content of the text nodes of a deployment de-
scriptor."

JSP Specification:

JSP.7.1.9
Event Listeners
A tag library may include classes that are event listeners (see the Servlet 2.5
specification). The listeners classes are listed in the tag library descriptor
and the JSP container automatically instantiates them and registers them. A
Container is required to locate all TLD files (see Section JSP.7.3.1 for
details on how they are identified), read their listener elements, and treat
the event listeners as extensions of those listed in web.xml.
The order in which the listeners are registered is undefined, but they are
registered before application start.

So if the TLD file should be treated as an extension of the web.xml file, so
the container should deal with the removal of any blank space right ?

-- 
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

Reply via email to