You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2009/05/08 17:09:56 UTC
svn commit: r773027 -
/cxf/trunk/common/common/src/main/java/org/apache/cxf/helpers/DOMUtils.java
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;
}
}