[Mono-bugs] [Bug 77681][Maj] New - Xml Serialization/Deserialization of enums not working

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Mar 1 11:04:13 EST 2006


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 davesw at provide.net.

http://bugzilla.ximian.com/show_bug.cgi?id=77681

--- shadow/77681	2006-03-01 11:04:13.000000000 -0500
+++ shadow/77681.tmp.9118	2006-03-01 11:04:13.000000000 -0500
@@ -0,0 +1,34 @@
+Bug#: 77681
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: Win 2000 & linux
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: Sys.XML
+AssignedTo: atsushi at ximian.com                            
+ReportedBy: davesw at provide.net               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Xml Serialization/Deserialization of enums not working
+
+The XmlSerializer class doesn't handle enum properties. Instead it throws
+an exception: 'Element' is an invalid node type.
+
+Steps to reproduce the problem:
+1. Run the attached aspx page (sorry it's not a regular app but the bug
+occured in a web app, and this was the quickest path).
+
+Actual Results:
+A System.Xml.XmlException.
+
+Expected Results:
+Page should display the value of the enumeration specified in the XML
+("NORMAL").
+
+How often does this happen? 
+Always (consitent and reproducable)


More information about the mono-bugs mailing list