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 ru...@apache.org on 2006/06/19 07:11:16 UTC

svn commit: r415246 - /webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/impl/dom/DocumentImpl.java

Author: ruchithf
Date: Sun Jun 18 22:11:15 2006
New Revision: 415246

URL: http://svn.apache.org/viewvc?rev=415246&view=rev
Log:
Fixing AXIS2-771:Namespace handling in DOOM

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

Modified: webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/impl/dom/DocumentImpl.java
URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/impl/dom/DocumentImpl.java?rev=415246&r1=415245&r2=415246&view=diff
==============================================================================
--- webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/impl/dom/DocumentImpl.java (original)
+++ webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/impl/dom/DocumentImpl.java Sun Jun 18 22:11:15 2006
@@ -197,7 +197,7 @@
             this.checkQName(prefix, localName);
         }
 
-        NamespaceImpl namespace = new NamespaceImpl(ns, prefix);
+        NamespaceImpl namespace = new NamespaceImpl(ns, prefix == null ? "" : prefix);
         return new ElementImpl(this, localName, namespace, this.factory);
     }
 



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