http://bugzilla.novell.com/show_bug.cgi?id=553032
Summary: InvalidOperationException is generated when
XmlAnyElementAttribute is applied to a property of
type object[]
Classification: Mono
Product: Mono: Class Libraries
Version: 2.4.x
Platform: All
OS/Version: openSUSE 11.1
Status: NEW
Severity: Critical
Priority: P5 - None
Component: Sys.XML
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
Found By: ---
Created an attachment (id=325857)
--> (http://bugzilla.novell.com/attachment.cgi?id=325857)
Minimal program to reproduce the bug
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.3)
Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729)
When configuring XML serialization for a custom class, if the attribute
XmlAnyElementAttribute is applied to a property of type object[], at runtime,
when tried to create a XmlSerializer for the type that contains the property,
an System.InvalidOperationException is thrown.
Reproducible: Always
Steps to Reproduce:
1. Create a class
2. Add a property on type object[]
3. Add a XmlAnyElementAttribute to that property
4. Try to create a XmlSerializer for the type created
Actual Results:
A System.InvalidOperationException is thrown
Expected Results:
Successfully create the XmlSerializer
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs