You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by di...@apache.org on 2008/05/22 14:58:35 UTC

svn commit: r659096 - /webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/impl/builder/StAXBuilder.java

Author: dims
Date: Thu May 22 05:58:33 2008
New Revision: 659096

URL: http://svn.apache.org/viewvc?rev=659096&view=rev
Log:
if the parser tells us that it does not understand OMConstants.IS_DATA_HANDLERS_AWARE, take it's word for it :)

Modified:
    webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/impl/builder/StAXBuilder.java

Modified: webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/impl/builder/StAXBuilder.java
URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/impl/builder/StAXBuilder.java?rev=659096&r1=659095&r2=659096&view=diff
==============================================================================
--- webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/impl/builder/StAXBuilder.java (original)
+++ webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/impl/builder/StAXBuilder.java Thu May 22 05:58:33 2008
@@ -680,6 +680,7 @@
             } catch (IllegalArgumentException e) {
                 // according to the parser api, get property will return IllegalArgumentException, when that
                 // property is not found.
+                isDataHandlerAware = Boolean.FALSE;
             } catch (IllegalStateException e) {
                 // it will also throw illegalStateExceptions if in wrong state, ignore
             }