Author: atsushi
Date: 2005-03-09 18:18:18 -0500 (Wed, 09 Mar 2005)
New Revision: 41621
Modified:
trunk/mcs/class/System.XML/Mono.Xml.Xsl.Operations/ChangeLog
trunk/mcs/class/System.XML/Mono.Xml.Xsl.Operations/XslText.cs
Log:
2005-03-09 Atsushi Enomoto <[EMAIL PROTECTED]>
* XslText.cs : whitespace nodes should be written at any time, once
they constructed this instance.
Modified: trunk/mcs/class/System.XML/Mono.Xml.Xsl.Operations/ChangeLog
===================================================================
--- trunk/mcs/class/System.XML/Mono.Xml.Xsl.Operations/ChangeLog
2005-03-09 22:52:38 UTC (rev 41620)
+++ trunk/mcs/class/System.XML/Mono.Xml.Xsl.Operations/ChangeLog
2005-03-09 23:18:18 UTC (rev 41621)
@@ -1,5 +1,10 @@
2005-03-09 Atsushi Enomoto <[EMAIL PROTECTED]>
+ * XslText.cs : whitespace nodes should be written at any time, once
+ they constructed this instance.
+
+2005-03-09 Atsushi Enomoto <[EMAIL PROTECTED]>
+
* XslVariable.cs : clone stored XPathNavigator items before storing.
* XslAttribute.cs : tiny code reduction.
Modified: trunk/mcs/class/System.XML/Mono.Xml.Xsl.Operations/XslText.cs
===================================================================
--- trunk/mcs/class/System.XML/Mono.Xml.Xsl.Operations/XslText.cs
2005-03-09 22:52:38 UTC (rev 41620)
+++ trunk/mcs/class/System.XML/Mono.Xml.Xsl.Operations/XslText.cs
2005-03-09 23:18:18 UTC (rev 41621)
@@ -58,8 +58,6 @@
public override void Evaluate (XslTransformProcessor p)
{
- if (isWhitespace && !p.PreserveWhitespace ())
- return; // write nothing
if (!disableOutputEscaping) {
if (isWhitespace)
p.Out.WriteWhitespace (text);
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches