cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r743967 - /cxf/trunk/common/common/src/main/java/org/apache/cxf/staxutils/StaxUtils.java
Date Fri, 13 Feb 2009 03:40:01 GMT
Author: dkulp
Date: Fri Feb 13 03:40:00 2009
New Revision: 743967

URL: http://svn.apache.org/viewvc?rev=743967&view=rev
Log:
[CXF-2033] Use the element returned from appendChild to keep attributes consistent.

Modified:
    cxf/trunk/common/common/src/main/java/org/apache/cxf/staxutils/StaxUtils.java

Modified: cxf/trunk/common/common/src/main/java/org/apache/cxf/staxutils/StaxUtils.java
URL: http://svn.apache.org/viewvc/cxf/trunk/common/common/src/main/java/org/apache/cxf/staxutils/StaxUtils.java?rev=743967&r1=743966&r2=743967&view=diff
==============================================================================
--- cxf/trunk/common/common/src/main/java/org/apache/cxf/staxutils/StaxUtils.java (original)
+++ cxf/trunk/common/common/src/main/java/org/apache/cxf/staxutils/StaxUtils.java Fri Feb
13 03:40:00 2009
@@ -685,7 +685,7 @@
             e.setPrefix(reader.getPrefix());
         }
 
-        parent.appendChild(e);
+        e = (Element)parent.appendChild(e);
 
         for (int ns = 0; ns < reader.getNamespaceCount(); ns++) {
             String uri = reader.getNamespaceURI(ns);



Mime
View raw message