ws-commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From veit...@apache.org
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 GMT
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);
         }
     }
 



Mime
View raw message