2005-09-16 Atsushi Enomoto <atsushi@ximian.com>
authorAtsushi Eno <atsushieno@gmail.com>
Fri, 16 Sep 2005 09:26:48 +0000 (09:26 -0000)
committerAtsushi Eno <atsushieno@gmail.com>
Fri, 16 Sep 2005 09:26:48 +0000 (09:26 -0000)
* ScriptCompilerInfo.cs : Fixed important regression on msxsl:script
  replacement in the previous patch.

svn path=/branches/mono-1-1-9/mcs/; revision=50133

mcs/class/System.XML/Mono.Xml.Xsl/ChangeLog
mcs/class/System.XML/Mono.Xml.Xsl/ScriptCompilerInfo.cs

index d419ff209ac06f191a3ffa620a74206b457bd783..1a46a4bbd7b345e2e480eb7296aaae2a47bb58e3 100644 (file)
@@ -1,3 +1,8 @@
+2005-09-16  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * ScriptCompilerInfo.cs : Fixed important regression on msxsl:script
+         replacement in the previous patch.
+
 2005-08-25  Atsushi Enomoto  <atsushi@ximian.com>
 
        * ScriptCompilerInfo.cs : It should not be "#line" when the source is
index ef619c36801d3100340dd9cbf2ea0a0bf1c5b161..cbd9037287f2cc07d6eda60df784823d25b6e817 100644 (file)
@@ -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)