sboag 00/07/17 18:33:33
Modified: java/src/org/apache/xalan/templates StylesheetRoot.java
Log:
For cloned OutputFormat in getOutputFormat, use OutputFormatExtended so I can
deal with that silly preserve space stuff.
Revision Changes Path
1.5 +1 -1
xml-xalan/java/src/org/apache/xalan/templates/StylesheetRoot.java
Index: StylesheetRoot.java
===================================================================
RCS file:
/home/cvs/xml-xalan/java/src/org/apache/xalan/templates/StylesheetRoot.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- StylesheetRoot.java 2000/07/06 02:21:28 1.4
+++ StylesheetRoot.java 2000/07/18 01:33:33 1.5
@@ -149,7 +149,7 @@
*/
public OutputFormat getOutputFormat()
{
- OutputFormat cloned = new OutputFormat();
+ OutputFormat cloned = new OutputFormatExtended();
cloned.setPreserveSpace(true);
cloned.setCDataElements(m_outputFormatComposed.getCDataElements());
cloned.setDoctype(m_outputFormatComposed.getDoctypePublic(),
m_outputFormatComposed.getDoctypeSystem());