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

--- Comment #4 from Mark Thomas <ma...@apache.org> 2012-01-20 11:38:35 UTC ---
The text of the JSP specification doesn't include any details on how TLDs
should be parsed. I can see where you are coming from with that chain of
references but the meaning of those is that listeners defined in TLDs are
equivalent to listeners defined in web.xml.

There is, however, a definitive answer if one looks at the Java EE XSDs.
Listeners in TLDs are of type javaee:listenerType
javaee:listenerType contains a listener-class of type
javaee:fully-qualified-classType
javaee:fully-qualified-classType has a base type of javaee:string
The definition of javaee:string requires that leading and trailing white space
is removed.

Therefore, the correct behaviour is to remove the leading and trailing white
space. It looks like this may affect many more elements than just the
listeners.

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