cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r773027 - /cxf/trunk/common/common/src/main/java/org/apache/cxf/helpers/DOMUtils.java
Date Fri, 08 May 2009 15:09:56 GMT
Author: dkulp
Date: Fri May  8 15:09:56 2009
New Revision: 773027

URL: http://svn.apache.org/viewvc?rev=773027&view=rev
Log:
Fix issue with second text node being lost

Modified:
    cxf/trunk/common/common/src/main/java/org/apache/cxf/helpers/DOMUtils.java

Modified: cxf/trunk/common/common/src/main/java/org/apache/cxf/helpers/DOMUtils.java
URL: http://svn.apache.org/viewvc/cxf/trunk/common/common/src/main/java/org/apache/cxf/helpers/DOMUtils.java?rev=773027&r1=773026&r2=773027&view=diff
==============================================================================
--- cxf/trunk/common/common/src/main/java/org/apache/cxf/helpers/DOMUtils.java (original)
+++ cxf/trunk/common/common/src/main/java/org/apache/cxf/helpers/DOMUtils.java Fri May  8
15:09:56 2009
@@ -118,7 +118,7 @@
                 } else if (s == null) {
                     s = ((Text)n1).getNodeValue();
                 } else {
-                    b = new StringBuilder(s);
+                    b = new StringBuilder(s).append(((Text)n1).getNodeValue());
                     s = null;
                 }
             }



Mime
View raw message