svn commit: r1339089 - /ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilXml.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1339089 - /ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilXml.java

adrianc
Author: adrianc
Date: Wed May 16 09:41:07 2012
New Revision: 1339089

URL: http://svn.apache.org/viewvc?rev=1339089&view=rev
Log:
Added a comment to UtilXml.java - no functional change.

Modified:
    ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilXml.java

Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilXml.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilXml.java?rev=1339089&r1=1339088&r2=1339089&view=diff
==============================================================================
--- ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilXml.java (original)
+++ ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilXml.java Wed May 16 09:41:07 2012
@@ -172,6 +172,8 @@ public class UtilXml {
      * @throws TransformerConfigurationException
      */
     public static Transformer createOutputTransformer(String encoding, boolean omitXmlDeclaration, boolean indent, int indentAmount) throws TransformerConfigurationException {
+        // Developers: This stylesheet strips all formatting space characters from the XML,
+        // then indents the XML using the specified indentation.
         StringBuilder sb = new StringBuilder();
         sb.append("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n");
         sb.append("<xsl:stylesheet xmlns:xsl=\"http://www.w3.org/1999/XSL/Transform\" xmlns:xalan=\"http://xml.apache.org/xslt\" version=\"1.0\">\n");