axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ruchi...@apache.org
Subject svn commit: r383161 - /webservices/axis2/trunk/java/modules/doom/src/org/apache/axis2/om/impl/dom/ElementImpl.java
Date Sat, 04 Mar 2006 17:50:08 GMT
Author: ruchithf
Date: Sat Mar  4 09:50:05 2006
New Revision: 383161

URL: http://svn.apache.org/viewcvs?rev=383161&view=rev
Log:
hasAttributes() should also check for the presense of the default namespace - fixed the build

Modified:
    webservices/axis2/trunk/java/modules/doom/src/org/apache/axis2/om/impl/dom/ElementImpl.java

Modified: webservices/axis2/trunk/java/modules/doom/src/org/apache/axis2/om/impl/dom/ElementImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/doom/src/org/apache/axis2/om/impl/dom/ElementImpl.java?rev=383161&r1=383160&r2=383161&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/doom/src/org/apache/axis2/om/impl/dom/ElementImpl.java
(original)
+++ webservices/axis2/trunk/java/modules/doom/src/org/apache/axis2/om/impl/dom/ElementImpl.java
Sat Mar  4 09:50:05 2006
@@ -594,6 +594,9 @@
             flag = (this.attributes.getLength() > 0);
         }
 
+        //The namespaces
+        flag = this.namespace != null;
+        
         if (!flag) {
             if (this.namespaces != null) {
                 flag = !this.namespaces.isEmpty();
@@ -601,6 +604,7 @@
                 flag = true;
             }
         }
+        
 
         return flag;
     }



Mime
View raw message