Author: alessio.soldano(a)jboss.com
Date: 2008-02-28 10:17:44 -0500 (Thu, 28 Feb 2008)
New Revision: 5850
Modified:
common/trunk/src/main/java/org/jboss/wsf/common/DOMWriter.java
Log:
[JBWS-2011] converting \r to its xml form (
) when normalizing strings in
DOMWriter
Modified: common/trunk/src/main/java/org/jboss/wsf/common/DOMWriter.java
===================================================================
--- common/trunk/src/main/java/org/jboss/wsf/common/DOMWriter.java 2008-02-28 14:42:59 UTC
(rev 5849)
+++ common/trunk/src/main/java/org/jboss/wsf/common/DOMWriter.java 2008-02-28 15:17:44 UTC
(rev 5850)
@@ -67,6 +67,7 @@
import java.util.Iterator;
import java.util.Map;
+import org.jboss.logging.Logger;
import org.w3c.dom.Attr;
import org.w3c.dom.Element;
import org.w3c.dom.NamedNodeMap;
@@ -587,6 +588,10 @@
break;
}
case '\r':
+ {
+ str.append("
");
+ break;
+ }
case '\n':
{
if (canonical)