* SoapServices.cs: Support encoded namespace names in
authorLluis Sanchez <lluis@novell.com>
Fri, 7 May 2004 10:43:32 +0000 (10:43 -0000)
committerLluis Sanchez <lluis@novell.com>
Fri, 7 May 2004 10:43:32 +0000 (10:43 -0000)
  DecodeXmlNamespaceForClrTypeNamespace. Thanks to George Kodinov.

svn path=/trunk/mcs/; revision=26895

mcs/class/corlib/System.Runtime.Remoting/ChangeLog
mcs/class/corlib/System.Runtime.Remoting/SoapServices.cs

index a4f0a19d72069a940e850495daf0c87c85c78b0e..5a85fd6c7141c92e7be8eeff298cca7c95f082e4 100755 (executable)
@@ -1,3 +1,8 @@
+2004-05-07  Lluis Sanchez Gual  <lluis@ximian.com>
+
+       * SoapServices.cs: Support encoded namespace names in 
+         DecodeXmlNamespaceForClrTypeNamespace. Thanks to George Kodinov.
+
 2004-04-28  Lluis Sanchez Gual  <lluis@ximian.com>
 
        * RemotingServices.cs: When create a ReturnMessage, provide an array with
index 77a5a50cbeadf67ec17d19c8c8c8ea359160ac6d..02fdce51c95668adc50eb7fc66b132c540b9bd06 100644 (file)
@@ -98,6 +98,12 @@ namespace System.Runtime.Remoting {
                                typeNamespace = inNamespace.Substring (typePos);
                                return true;
                        }
+                       else if (inNamespace.StartsWith(XmlNsForClrTypeWithAssembly))
+                       {
+                               int typePos = XmlNsForClrTypeWithAssembly.Length;
+                               assemblyName = inNamespace.Substring (typePos);
+                               return true;
+                       }
                        else
                                return false;
                }