Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 60355 invoked from network); 7 Mar 2005 08:06:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 7 Mar 2005 08:06:54 -0000 Received: (qmail 9625 invoked by uid 500); 7 Mar 2005 08:06:51 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 9535 invoked by uid 500); 7 Mar 2005 08:06:51 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 9520 invoked by uid 99); 7 Mar 2005 08:06:51 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 07 Mar 2005 00:06:50 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (8.12.11/8.12.11) with ESMTP id j2786lxT016243 for ; Mon, 7 Mar 2005 09:06:47 +0100 Received: (from nobody@localhost) by ajax.apache.org (8.12.11/8.12.11/Submit) id j2786lF7016241; Mon, 7 Mar 2005 09:06:47 +0100 Date: Mon, 7 Mar 2005 09:06:47 +0100 Message-Id: <200503070806.j2786lF7016241@ajax.apache.org> From: bugzilla@apache.org To: commons-dev@jakarta.apache.org Subject: DO NOT REPLY [Bug 33873] New: - Named stacks are not popped at end of processing X-Bugzilla-Reason: AssignedTo X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.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://issues.apache.org/bugzilla/show_bug.cgi?id=33873 Summary: Named stacks are not popped at end of processing Product: Commons Version: unspecified Platform: All OS/Version: All Status: NEW Severity: minor Priority: P4 Component: Digester AssignedTo: commons-dev@jakarta.apache.org ReportedBy: brian@interscales.com The method org.apache.commons.digester.Digester.endDocument() pops the main stack in a loop, but does not perform the same operation on stacksByName. This is inconsistent, and may result in an ever-growing stack if a Digester instance is cached and reused (notwithstanding documentation that Digester instances should not be reused anyway). An alternative to clearing stacksByName in endDocument() would be to do so in clear(). It also would be more consistent (and useful) to have a method public Object peek(String stackName, int n); -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org