Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@apache.org Received: (qmail 51563 invoked from network); 6 Aug 2002 04:46:51 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 6 Aug 2002 04:46:51 -0000 Received: (qmail 17918 invoked by uid 97); 6 Aug 2002 04:47:17 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-dev@jakarta.apache.org Received: (qmail 17902 invoked by uid 97); 6 Aug 2002 04:47:17 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 17888 invoked by uid 50); 6 Aug 2002 04:47:16 -0000 Date: 6 Aug 2002 04:47:16 -0000 Message-ID: <20020806044716.17887.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: tomcat-dev@jakarta.apache.org Cc: Subject: DO NOT REPLY [Bug 11488] New: - Problem With Tag Pool Reuse Algorithm X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . 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=11488 Problem With Tag Pool Reuse Algorithm Summary: Problem With Tag Pool Reuse Algorithm Product: Tomcat 4 Version: 4.1.8 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Jasper 2 AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: craig.mcclanahan@sun.com Consider a tag with a required "id" attribute and two optional attributes "bar" and "baz". The following usage pattern will incorrectly recycle the same tag instance, but not set the attributes correctly: the second usage will see both "bar" and "baz" set. Only tag instances that have the same sets of attributes should be reused -- in the above example, the attribute sets are different (id/bar versus id/baz) and reuse should not take place. Interestingly, changing the usage to: (i.e. different values for "id") causes the tag instances not to be reused, so it appears that the reuse decision is being incorrectly made on attribute values rather than attribute names. -- To unsubscribe, e-mail: For additional commands, e-mail: