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 az...@apache.org on 2007/01/24 13:13:40 UTC

svn commit: r499377 - /webservices/commons/trunk/modules/axiom/modules/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/AttrImpl.java

Author: azeez
Date: Wed Jan 24 04:13:39 2007
New Revision: 499377

URL: http://svn.apache.org/viewvc?view=rev&rev=499377
Log:
Applying path sent by sumedha for WSCOMMONS-147


Modified:
    webservices/commons/trunk/modules/axiom/modules/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/AttrImpl.java

Modified: webservices/commons/trunk/modules/axiom/modules/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/AttrImpl.java
URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/AttrImpl.java?view=diff&rev=499377&r1=499376&r2=499377
==============================================================================
--- webservices/commons/trunk/modules/axiom/modules/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/AttrImpl.java (original)
+++ webservices/commons/trunk/modules/axiom/modules/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/AttrImpl.java Wed Jan 24 04:13:39 2007
@@ -154,6 +154,8 @@
     			return this.attrName;
     		}else if(OMConstants.XMLNS_NS_URI.equals(this.namespace.getNamespaceURI())){
     			return OMConstants.XMLNS_NS_PREFIX + ":" + this.attrName;
+    		}else if(this.namespace.getPrefix().equals("")){
+    			return this.attrName;
     		}else{
     			return this.namespace.getPrefix()+":"+this.attrName;
     		}



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org