xmlbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ce...@apache.org
Subject svn commit: r219512 - /xmlbeans/trunk/src/store/org/apache/xmlbeans/impl/store/Xobj.java
Date Mon, 18 Jul 2005 15:26:37 GMT
Author: cezar
Date: Mon Jul 18 08:26:20 2005
New Revision: 219512

URL: http://svn.apache.org/viewcvs?rev=219512&view=rev
Log:
Fixed copying namespace declarations when doing an XmlObject.set().


Modified:
    xmlbeans/trunk/src/store/org/apache/xmlbeans/impl/store/Xobj.java

Modified: xmlbeans/trunk/src/store/org/apache/xmlbeans/impl/store/Xobj.java
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/src/store/org/apache/xmlbeans/impl/store/Xobj.java?rev=219512&r1=219511&r2=219512&view=diff
==============================================================================
--- xmlbeans/trunk/src/store/org/apache/xmlbeans/impl/store/Xobj.java (original)
+++ xmlbeans/trunk/src/store/org/apache/xmlbeans/impl/store/Xobj.java Mon Jul 18 08:26:20
2005
@@ -2211,8 +2211,9 @@
 
             try
             {
-
-                Map sourceNamespaces = Locale.getAllNamespaces( c, null );
+                Cur cSrc1 = xSrc.tempCur();
+                Map sourceNamespaces = Locale.getAllNamespaces( cSrc1, null );
+                cSrc1.release();
 
                 if (isAttr())
                 {



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: commits-help@xmlbeans.apache.org


Mime
View raw message