[Mono-bugs] [Bug 74723][Nor] New - XmlSerializer serializes arrays without setters
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Mon, 25 Apr 2005 08:12:34 -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 juraj@hotfeet.ch.
http://bugzilla.ximian.com/show_bug.cgi?id=74723
--- shadow/74723 2005-04-25 08:12:34.000000000 -0400
+++ shadow/74723.tmp.32250 2005-04-25 08:12:34.000000000 -0400
@@ -0,0 +1,35 @@
+Bug#: 74723
+Product: Mono: Class Libraries
+Version: 1.1
+OS:
+OS Details: FC3
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: Sys.XML
+AssignedTo: lluis@ximian.com
+ReportedBy: juraj@hotfeet.ch
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: XmlSerializer serializes arrays without setters
+
+MS.NET does not serialize array properties without setters.
+Mono (from SVN) does.
+
+Testcase output on MS.NET:
+--------------------------
+<ToBeSerialized xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
+
+Testcase output on Mono:
+------------------------
+<ToBeSerialized xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <StrArr>
+ <string>string1</string>
+ <string>string2</string>
+ </StrArr>
+</ToBeSerialized>