[Mono-bugs] [Bug 61358][Nor] New - Error trying to serialize an IEnumerable class
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Fri, 9 Jul 2004 15:11:42 -0400 (EDT)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by juancri@tagnet.org.
http://bugzilla.ximian.com/show_bug.cgi?id=61358
--- shadow/61358 2004-07-09 15:11:42.000000000 -0400
+++ shadow/61358.tmp.26651 2004-07-09 15:11:42.000000000 -0400
@@ -0,0 +1,42 @@
+Bug#: 61358
+Product: Mono: Class Libraries
+Version: unspecified
+OS: All
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: Sys.XML
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: juancri@tagnet.org
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Error trying to serialize an IEnumerable class
+
+Please fill in this template when reporting a bug, unless you know what
+you are doing.
+Description of Problem:
+Web service does not work
+
+Steps to reproduce the problem:
+1. Run the test web service
+
+Actual Results:
+System.ArgumentException: Key duplication when adding:
+ArrayOfAnyType/http://tempuri.org
+
+
+Expected Results:
+Normal operation
+
+How often does this happen?
+Always
+
+Additional Information:
+This only happens when MyList implements IEnumerable (If you comment ":
+IEnumerable", it works!).
+Also, this only works when we have a class that inherits from MyList (we
+use XmlInclude to allow the cast for the serialization).