Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAtsushi Eno <atsushieno@gmail.com>2005-09-16 13:17:15 +0400
committerAtsushi Eno <atsushieno@gmail.com>2005-09-16 13:17:15 +0400
commitc3651400738ee1cf20bcdcea8a095e1f1997cf42 (patch)
treeae74442673fa5b71c029f127b08e2f94ca4e7c14 /mcs/class/System.XML/Mono.Xml.Xsl
parent7d046c5639cfe8cc3b8c93b7488f069e7dd7b598 (diff)
2005-09-16 Atsushi Enomoto <atsushi@ximian.com>
* XslTransform.cs : When Transform() returns XmlReader, allow empty results. Fixed bug #76115. * ScriptCompilerInfo.cs : Compile correct replacement result. Fixed bug #76116. * XslTransformTests.cs : added testcase for bug #76115. * MSXslScriptTests.cs : added testcase for bug #76116. svn path=/trunk/mcs/; revision=50132
Diffstat (limited to 'mcs/class/System.XML/Mono.Xml.Xsl')
-rw-r--r--mcs/class/System.XML/Mono.Xml.Xsl/ChangeLog5
-rw-r--r--mcs/class/System.XML/Mono.Xml.Xsl/ScriptCompilerInfo.cs2
2 files changed, 6 insertions, 1 deletions
diff --git a/mcs/class/System.XML/Mono.Xml.Xsl/ChangeLog b/mcs/class/System.XML/Mono.Xml.Xsl/ChangeLog
index f342143179c..f57d7cca654 100644
--- a/mcs/class/System.XML/Mono.Xml.Xsl/ChangeLog
+++ b/mcs/class/System.XML/Mono.Xml.Xsl/ChangeLog
@@ -1,3 +1,8 @@
+2005-09-16 Atsushi Enomoto <atsushi@ximian.com>
+
+ * ScriptCompilerInfo.cs : Compile correct replacement result.
+ Fixed bug #76116.
+
2005-09-10 Atsushi Enomoto <atsushi@ximian.com>
* Compiler.cs : (Compile) check children only when it is the document
diff --git a/mcs/class/System.XML/Mono.Xml.Xsl/ScriptCompilerInfo.cs b/mcs/class/System.XML/Mono.Xml.Xsl/ScriptCompilerInfo.cs
index ef619c36801..cbd9037287f 100644
--- a/mcs/class/System.XML/Mono.Xml.Xsl/ScriptCompilerInfo.cs
+++ b/mcs/class/System.XML/Mono.Xml.Xsl/ScriptCompilerInfo.cs
@@ -102,7 +102,7 @@ namespace Mono.Xml.Xsl
DateTime.Now.ToString (CultureInfo.InvariantCulture))
.Replace ("{1}", classSuffix)
.Replace ("{2}", code);
- source = FormatSource (li, filename, code);
+ source = FormatSource (li, filename, source);
CompilerResults res = compiler.CompileAssemblyFromSource (parameters, source);
foreach (CompilerError err in res.Errors)