Author: atsushi
Date: 2005-05-09 02:48:21 -0400 (Mon, 09 May 2005)
New Revision: 44243

Modified:
   trunk/mcs/tools/wsdl/ChangeLog
   trunk/mcs/tools/wsdl/MonoWSDL.cs
   trunk/mcs/tools/wsdl/MonoWSDL2.cs
Log:
2005-05-09  Atsushi Enomoto  <[EMAIL PROTECTED]>

        * MonoWSDL.cs, MonoWSDL2.cs :
          "file://"+windows_native_path is not a valid file URI.



Modified: trunk/mcs/tools/wsdl/ChangeLog
===================================================================
--- trunk/mcs/tools/wsdl/ChangeLog      2005-05-09 06:37:10 UTC (rev 44242)
+++ trunk/mcs/tools/wsdl/ChangeLog      2005-05-09 06:48:21 UTC (rev 44243)
@@ -1,3 +1,8 @@
+2005-05-09  Atsushi Enomoto  <[EMAIL PROTECTED]>
+
+       * MonoWSDL.cs, MonoWSDL2.cs :
+         "file://"+windows_native_path is not a valid file URI.
+
 2005-04-11  Lluis Sanchez Gual  <[EMAIL PROTECTED]>
 
        * SampleGenerator.cs: Removed unused method.

Modified: trunk/mcs/tools/wsdl/MonoWSDL.cs
===================================================================
--- trunk/mcs/tools/wsdl/MonoWSDL.cs    2005-05-09 06:37:10 UTC (rev 44242)
+++ trunk/mcs/tools/wsdl/MonoWSDL.cs    2005-05-09 06:48:21 UTC (rev 44243)
@@ -522,7 +522,7 @@
                                        DiscoveryClientProtocol dcc = 
CreateClient ();
                                                                        
                                        if (!url.StartsWith ("http://";) && 
!url.StartsWith ("https://";) && !url.StartsWith ("file://"))
-                                               url = "file://" + 
Path.GetFullPath (url);
+                                               url = new Uri (Path.GetFullPath 
(url)).ToString ();
                                                
                                        dcc.DiscoverAny (url);
                                        dcc.ResolveAll ();

Modified: trunk/mcs/tools/wsdl/MonoWSDL2.cs
===================================================================
--- trunk/mcs/tools/wsdl/MonoWSDL2.cs   2005-05-09 06:37:10 UTC (rev 44242)
+++ trunk/mcs/tools/wsdl/MonoWSDL2.cs   2005-05-09 06:48:21 UTC (rev 44243)
@@ -131,7 +131,7 @@
 
                                        string url = murl;
                                        if (!url.StartsWith ("http://";) && 
!url.StartsWith ("https://";) && !url.StartsWith ("file://"))
-                                               url = "file://" + 
Path.GetFullPath (url);
+                                               url = new Uri (Path.GetFullPath 
(url)).ToString ();
 
                                        dcc.DiscoverAny (url);
                                        dcc.ResolveAll ();

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

Reply via email to