Author: atsushi
Date: 2005-03-31 12:31:55 -0500 (Thu, 31 Mar 2005)
New Revision: 42436

Modified:
   trunk/mcs/class/System.XML/Mono.Xml.Xsl/ChangeLog
   trunk/mcs/class/System.XML/Mono.Xml.Xsl/MSXslScriptManager.cs
Log:
2005-03-31  Atsushi Enomoto  <[EMAIL PROTECTED]>

        * MSXslScriptManager.cs : added TARGET_JVM switch (that does not
          support CodeDom). Use Guid.ToString("N").



Modified: trunk/mcs/class/System.XML/Mono.Xml.Xsl/ChangeLog
===================================================================
--- trunk/mcs/class/System.XML/Mono.Xml.Xsl/ChangeLog   2005-03-31 17:23:38 UTC 
(rev 42435)
+++ trunk/mcs/class/System.XML/Mono.Xml.Xsl/ChangeLog   2005-03-31 17:31:55 UTC 
(rev 42436)
@@ -1,5 +1,10 @@
 2005-03-31  Atsushi Enomoto  <[EMAIL PROTECTED]>
 
+       * MSXslScriptManager.cs : added TARGET_JVM switch (that does not
+         support CodeDom). Use Guid.ToString("N").
+
+2005-03-31  Atsushi Enomoto  <[EMAIL PROTECTED]>
+
        * Compiler.cs : removed extraneous using_directive.
 
 2005-03-25  Atsushi Enomoto  <[EMAIL PROTECTED]>

Modified: trunk/mcs/class/System.XML/Mono.Xml.Xsl/MSXslScriptManager.cs
===================================================================
--- trunk/mcs/class/System.XML/Mono.Xml.Xsl/MSXslScriptManager.cs       
2005-03-31 17:23:38 UTC (rev 42435)
+++ trunk/mcs/class/System.XML/Mono.Xml.Xsl/MSXslScriptManager.cs       
2005-03-31 17:31:55 UTC (rev 42436)
@@ -127,7 +127,10 @@
                        
                        public object Compile (XPathNavigator node)
                        {
-                               string suffix = Guid.NewGuid ().ToString 
().Replace ("-", String.Empty);
+#if TARGET_JVM
+                               throw new NotImplementedException ();
+#else
+                               string suffix = Guid.NewGuid ().ToString ("N");
                                switch (this.language) {
                                case ScriptingLanguage.CSharp:
                                        return new CSharpCompilerInfo 
().GetScriptClass (Code, suffix, node, evidence);
@@ -138,6 +141,7 @@
                                default:
                                        return null;
                                }
+#endif
                        }
                }
        }

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to