[Yanel-commits] rev 48452 -
public/yanel/trunk/src/resources/xml/src/java/org/wyona/yanel/impl/resources
memo at wyona.com
memo at wyona.com
Thu Apr 1 15:29:39 CEST 2010
Author: memo
Date: 2010-04-01 15:29:39 +0200 (Thu, 01 Apr 2010)
New Revision: 48452
Modified:
public/yanel/trunk/src/resources/xml/src/java/org/wyona/yanel/impl/resources/XMLResource.java
Log:
iso encoding removed
Modified: public/yanel/trunk/src/resources/xml/src/java/org/wyona/yanel/impl/resources/XMLResource.java
===================================================================
--- public/yanel/trunk/src/resources/xml/src/java/org/wyona/yanel/impl/resources/XMLResource.java 2010-04-01 13:20:02 UTC (rev 48451)
+++ public/yanel/trunk/src/resources/xml/src/java/org/wyona/yanel/impl/resources/XMLResource.java 2010-04-01 13:29:39 UTC (rev 48452)
@@ -368,7 +368,7 @@
InputStream is = ((YanelStreamSource)src).getInputStream();
Document doc = XMLHelper.readDocument(is);
if (log.isDebugEnabled()) {
- log.debug("Template content: " + System.getProperty("line.separator") + XMLHelper.documentToString(doc, false, true, "iso-8859-1"));
+ log.debug("Template content: " + System.getProperty("line.separator") + XMLHelper.documentToString(doc, false, true, null ));
}
if (title != null) {
@@ -377,7 +377,7 @@
XMLHelper.writeDocument(doc, newNode.getOutputStream());
if (log.isDebugEnabled()) {
- log.debug("Document content: " + System.getProperty("line.separator") + XMLHelper.documentToString(doc, false, true, "iso-8859-1"));
+ log.debug("Document content: " + System.getProperty("line.separator") + XMLHelper.documentToString(doc, false, true, null));
}
} else {
Writer writer = new java.io.OutputStreamWriter(newNode.getOutputStream());
More information about the Yanel-commits
mailing list