< prev index next >

src/java.xml/share/classes/com/sun/org/apache/xalan/internal/xsltc/runtime/AbstractTranslet.java

Print this page

        

@@ -683,10 +683,11 @@
                 handler.setCdataSectionElements(_cdata);
                 if (_version != null) {
                     handler.setVersion(_version);
                 }
                 handler.setIndent(_indent);
+                if (_indentamount >= 0)
                 handler.setIndentAmount(_indentamount);
                 if (_doctypeSystem != null) {
                     handler.setDoctype(_doctypeSystem, _doctypePublic);
                 }
                 handler.setIsStandalone(_isStandalone);
< prev index next >