Hi,
please take in account the following patch,
if it's not compliant please give me back a feedback.
Index: src/java/org/dom4j/io/XMLWriter.java
===================================================================
RCS file: /cvsroot/dom4j/dom4j/src/java/org/dom4j/io/XMLWriter.java,v
retrieving revision 1.83.2.2
diff -u -r1.83.2.2 XMLWriter.java
--- src/java/org/dom4j/io/XMLWriter.java 10 May 2005 19:59:40
-0000 1.83.2.2
+++ src/java/org/dom4j/io/XMLWriter.java 2 Sep 2011 08:03:59 -0000
@@ -1776,12 +1776,12 @@
break;
case '\t':
- case '\n':
- case '\r':
// don't encode standard whitespace characters
break;
+ case '\r':
+ case '\n':
default:
if ((c < 32) || shouldEncodeChar(c)) {
Cheers
Lorenzo
------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
dom4j-dev mailing list
dom4j-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dom4j-dev