Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 44299 invoked from network); 8 Jun 2008 11:10:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Jun 2008 11:10:07 -0000 Received: (qmail 42432 invoked by uid 500); 8 Jun 2008 11:10:09 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 42389 invoked by uid 500); 8 Jun 2008 11:10:09 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 42378 invoked by uid 99); 8 Jun 2008 11:10:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Jun 2008 04:10:09 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Jun 2008 11:09:28 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B79D9234C135 for ; Sun, 8 Jun 2008 04:09:45 -0700 (PDT) Message-ID: <2117127790.1212923385750.JavaMail.jira@brutus> Date: Sun, 8 Jun 2008 04:09:45 -0700 (PDT) From: "Philippe Marschall (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Created: (JCR-1644) make NamespaceContext#getPrefix(java.lang.String) iterative instead of recursive MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org make NamespaceContext#getPrefix(java.lang.String) iterative instead of recursive -------------------------------------------------------------------------------- Key: JCR-1644 URL: https://issues.apache.org/jira/browse/JCR-1644 Project: Jackrabbit Issue Type: Improvement Components: jackrabbit-core Reporter: Philippe Marschall Priority: Minor Attachments: NamespaceContext.java.patch Currently the method org.apache.jackrabbit.core.xml.NamespaceContext#getPrefix(java.lang.String) uses recursion. For very large XML files (50 MB Magnolia website exports) this causes a stack overflow. The method can easily be rewritten using iteration. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.