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 6090] - Listener not instantiated in tld file
Date Fri, 01 Feb 2002 21:49:33 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6090>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6090

Listener not instantiated in tld file





------- Additional Comments From craig.mcclanahan@sun.com  2002-02-01 21:49 -------
Kevin, your "simple" test case is a little too simple, so this TLD is going to 
fail XML validation and be rejected.  Why?  If you look at the DTD for tag 
library descriptors, you'll see that "tag" has a "+" after it -- in other words, 
a valid TLD must have at least one <tag> element.  (Yes, that is a horrible bug 
in the spec, but nothing we can do about it this time around ...)

So, you should be getting a stack trace from a failed validation in one of the 
log files -- if not (haven't checked yet) that is clearly a Tomcat bug.

None of this, of course, would explain why a valid (in the XML sense) TLD with a 
listener in it wouldn't work for you ...

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message