Author: kostat
Date: 2007-04-29 03:55:45 -0400 (Sun, 29 Apr 2007)
New Revision: 76441

Modified:
   
branches/mainsoft/gh20/mcs/class/System.XML/System.Xml.Serialization/ChangeLog
   
branches/mainsoft/gh20/mcs/class/System.XML/System.Xml.Serialization/XmlSchemas.cs
Log:
merge -r76237:76238

Modified: 
branches/mainsoft/gh20/mcs/class/System.XML/System.Xml.Serialization/ChangeLog
===================================================================
--- 
branches/mainsoft/gh20/mcs/class/System.XML/System.Xml.Serialization/ChangeLog  
    2007-04-29 04:58:06 UTC (rev 76440)
+++ 
branches/mainsoft/gh20/mcs/class/System.XML/System.Xml.Serialization/ChangeLog  
    2007-04-29 07:55:45 UTC (rev 76441)
@@ -1,3 +1,8 @@
+2007-04-25  Atsushi Enomoto  <[EMAIL PROTECTED]>
+
+       * XmlSchemas.cs : 1.1-only duplicate check does not seem to be
+         required. This is also a workaround for 1.x ws proxy generation.
+
 2007-04-20  Atsushi Enomoto  <[EMAIL PROTECTED]>
 
        * XmlTypeMapping.cs, ReflectionHelper.cs,

Modified: 
branches/mainsoft/gh20/mcs/class/System.XML/System.Xml.Serialization/XmlSchemas.cs
===================================================================
--- 
branches/mainsoft/gh20/mcs/class/System.XML/System.Xml.Serialization/XmlSchemas.cs
  2007-04-29 04:58:06 UTC (rev 76440)
+++ 
branches/mainsoft/gh20/mcs/class/System.XML/System.Xml.Serialization/XmlSchemas.cs
  2007-04-29 07:55:45 UTC (rev 76441)
@@ -210,10 +210,6 @@
                {
                        string ns = ((XmlSchema) value).TargetNamespace;
                        if (ns == null) ns = "";
-#if ONLY_1_1
-                       if (table.Contains (ns))
-                               throw new InvalidOperationException ("A schema 
with the namespace '" + ns + "' has already been added.");
-#endif
                        table [ns] = value;
                }
 

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

Reply via email to