Return-Path: Delivered-To: apmail-ws-commons-dev-archive@minotaur.apache.org Received: (qmail 17848 invoked from network); 8 Jul 2009 18:27:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Jul 2009 18:27:06 -0000 Received: (qmail 42886 invoked by uid 500); 8 Jul 2009 18:27:16 -0000 Delivered-To: apmail-ws-commons-dev-archive@ws.apache.org Received: (qmail 42824 invoked by uid 500); 8 Jul 2009 18:27:15 -0000 Mailing-List: contact commons-dev-help@ws.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: commons-dev@ws.apache.org Delivered-To: mailing list commons-dev@ws.apache.org Received: (qmail 42814 invoked by uid 99); 8 Jul 2009 18:27:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Jul 2009 18:27:15 +0000 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.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Jul 2009 18:27:12 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 84D6223888C5; Wed, 8 Jul 2009 18:26:51 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r792249 - /webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/stax/XMLFragmentStreamReader.java Date: Wed, 08 Jul 2009 18:26:51 -0000 To: commons-dev@ws.apache.org From: veithen@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090708182651.84D6223888C5@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: veithen Date: Wed Jul 8 18:26:51 2009 New Revision: 792249 URL: http://svn.apache.org/viewvc?rev=792249&view=rev Log: Fixed bug that can cause StackOverflowError. Modified: webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/stax/XMLFragmentStreamReader.java Modified: webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/stax/XMLFragmentStreamReader.java URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/stax/XMLFragmentStreamReader.java?rev=792249&r1=792248&r2=792249&view=diff ============================================================================== --- webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/stax/XMLFragmentStreamReader.java (original) +++ webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/stax/XMLFragmentStreamReader.java Wed Jul 8 18:26:51 2009 @@ -239,7 +239,7 @@ if (state == STATE_START_DOCUMENT || state == STATE_END_DOCUMENT) { throw new IllegalStateException(); } else { - return isAttributeSpecified(index); + return parent.isAttributeSpecified(index); } }