dbertoni 2002/12/11 16:35:06
Modified: c/src/XSLT StylesheetRoot.cpp
Log:
Fix bug with supressing cdata-section-elements attribute.
Revision Changes Path
1.72 +2 -1 xml-xalan/c/src/XSLT/StylesheetRoot.cpp
Index: StylesheetRoot.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XSLT/StylesheetRoot.cpp,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -r1.71 -r1.72
--- StylesheetRoot.cpp 11 Dec 2002 22:51:40 -0000 1.71
+++ StylesheetRoot.cpp 12 Dec 2002 00:35:06 -0000 1.72
@@ -178,7 +178,8 @@
}
// cdata-section-elements only applies to the XML output method...
- if (m_outputMethod != FormatterListener::OUTPUT_METHOD_XML)
+ if (m_outputMethod != FormatterListener::OUTPUT_METHOD_XML &&
+ m_outputMethod != FormatterListener::OUTPUT_METHOD_NONE)
{
m_cdataSectionElems.clear();
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]