[Mono-bugs] [Bug 571510] XmlSerializer.Deserialize not working

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Jan 19 13:12:19 EST 2010


http://bugzilla.novell.com/show_bug.cgi?id=571510

http://bugzilla.novell.com/show_bug.cgi?id=571510#c3


Lluis Sanchez <lluis at novell.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #3 from Lluis Sanchez <lluis at novell.com> 2010-01-19 18:12:17 UTC ---
I tried this test case both on Mono and MS.NET and both yield a result of 0.
That [XmlRoot("Item")] attribute in Lookup.cs is useless, since it only applies
to document root elements, and it won't apply to array items. The solution is
to use [XmlType("Item")] instead, or to apply [XmlArrayItem ("Item")] to the
ContactSorts property.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list