You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by db...@locus.apache.org on 2000/12/06 00:31:43 UTC
cvs commit: xml-xalan/c/src/XSLT ElemTemplateElement.cpp
dbertoni 00/12/05 15:31:42
Modified: c/src/XSLT ElemTemplateElement.cpp
Log:
Fixed problem with handling ignorable whitespace.
Revision Changes Path
1.42 +3 -3 xml-xalan/c/src/XSLT/ElemTemplateElement.cpp
Index: ElemTemplateElement.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XSLT/ElemTemplateElement.cpp,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -r1.41 -r1.42
--- ElemTemplateElement.cpp 2000/11/27 21:44:28 1.41
+++ ElemTemplateElement.cpp 2000/12/05 23:31:41 1.42
@@ -320,9 +320,9 @@
// a string.
DOMStringPrintWriter thePrintWriter(result);
- // Create a FormatterToText, and don't normalize CR/LF, since we dont' want
- // this text to be normalized.
- FormatterToText theFormatter(thePrintWriter, false);
+ // Create a FormatterToText, and don't normalize CR/LF, since we don't want
+ // this text to be normalized. Finally, handle any ignorable whitespace events.
+ FormatterToText theFormatter(thePrintWriter, false, true);
// Create an object to set and restore the execution state.
StylesheetExecutionContext::OutputContextPushPop theOutputContextPushPop(