You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2009/04/15 11:36:07 UTC
svn commit: r765093 -
/lenya/branches/BRANCH_2_0_X/src/java/org/apache/lenya/xml/DocumentHelper.java
Author: andreas
Date: Wed Apr 15 09:36:07 2009
New Revision: 765093
URL: http://svn.apache.org/viewvc?rev=765093&view=rev
Log:
Don't indent XML documents when writing. Fixes bug 47025.
Modified:
lenya/branches/BRANCH_2_0_X/src/java/org/apache/lenya/xml/DocumentHelper.java
Modified: lenya/branches/BRANCH_2_0_X/src/java/org/apache/lenya/xml/DocumentHelper.java
URL: http://svn.apache.org/viewvc/lenya/branches/BRANCH_2_0_X/src/java/org/apache/lenya/xml/DocumentHelper.java?rev=765093&r1=765092&r2=765093&view=diff
==============================================================================
--- lenya/branches/BRANCH_2_0_X/src/java/org/apache/lenya/xml/DocumentHelper.java (original)
+++ lenya/branches/BRANCH_2_0_X/src/java/org/apache/lenya/xml/DocumentHelper.java Wed Apr 15 09:36:07 2009
@@ -274,7 +274,7 @@
throws TransformerConfigurationException {
TransformerFactory factory = TransformerFactory.newInstance();
Transformer transformer = factory.newTransformer();
- transformer.setOutputProperty(OutputKeys.INDENT, "yes");
+ transformer.setOutputProperty(OutputKeys.INDENT, "no");
transformer.setOutputProperty(OutputKeys.METHOD, "xml");
if (documentType != null) {
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org