diff options
author | Atsushi Eno <atsushieno@gmail.com> | 2005-03-10 02:18:18 +0300 |
---|---|---|
committer | Atsushi Eno <atsushieno@gmail.com> | 2005-03-10 02:18:18 +0300 |
commit | 1907b0eaaad9a4640f1c5d8bc190903946af687f (patch) | |
tree | a1c18c90b84133c90cfd572a89c41ba0eaec35d5 /mcs/class/System.XML/Mono.Xml.Xsl.Operations | |
parent | bd31d3bac0696a9f3b191119f2c16dfa9541b2f1 (diff) |
2005-03-09 Atsushi Enomoto <atsushi@ximian.com>
* XslText.cs : whitespace nodes should be written at any time, once
they constructed this instance.
svn path=/trunk/mcs/; revision=41621
Diffstat (limited to 'mcs/class/System.XML/Mono.Xml.Xsl.Operations')
-rw-r--r-- | mcs/class/System.XML/Mono.Xml.Xsl.Operations/ChangeLog | 5 | ||||
-rw-r--r-- | mcs/class/System.XML/Mono.Xml.Xsl.Operations/XslText.cs | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/mcs/class/System.XML/Mono.Xml.Xsl.Operations/ChangeLog b/mcs/class/System.XML/Mono.Xml.Xsl.Operations/ChangeLog index d3d476f16dd..a9b3a8d3859 100644 --- a/mcs/class/System.XML/Mono.Xml.Xsl.Operations/ChangeLog +++ b/mcs/class/System.XML/Mono.Xml.Xsl.Operations/ChangeLog @@ -1,5 +1,10 @@ 2005-03-09 Atsushi Enomoto <atsushi@ximian.com> + * XslText.cs : whitespace nodes should be written at any time, once + they constructed this instance. + +2005-03-09 Atsushi Enomoto <atsushi@ximian.com> + * XslVariable.cs : clone stored XPathNavigator items before storing. * XslAttribute.cs : tiny code reduction. diff --git a/mcs/class/System.XML/Mono.Xml.Xsl.Operations/XslText.cs b/mcs/class/System.XML/Mono.Xml.Xsl.Operations/XslText.cs index c8cbc60e3b1..1b247ffa319 100644 --- a/mcs/class/System.XML/Mono.Xml.Xsl.Operations/XslText.cs +++ b/mcs/class/System.XML/Mono.Xml.Xsl.Operations/XslText.cs @@ -58,8 +58,6 @@ namespace Mono.Xml.Xsl.Operations { public override void Evaluate (XslTransformProcessor p) { - if (isWhitespace && !p.PreserveWhitespace ()) - return; // write nothing if (!disableOutputEscaping) { if (isWhitespace) p.Out.WriteWhitespace (text); |