[Mono-bugs] [Bug 77590][Nor] New - XmlReflectionImporter does not check for Xml attribtes on IXmlSerializable implementation

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Feb 18 10:14:39 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 gert.driesen at pandora.be.

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

--- shadow/77590	2006-02-18 10:14:39.000000000 -0500
+++ shadow/77590.tmp.18204	2006-02-18 10:14:39.000000000 -0500
@@ -0,0 +1,28 @@
+Bug#: 77590
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Sys.XML
+AssignedTo: lluis at ximian.com                            
+ReportedBy: gert.driesen at pandora.be               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: XmlReflectionImporter does not check for Xml attribtes on IXmlSerializable implementation
+
+XmlReflectionImporter.ImportTypeMapping does not throw an 
+InvalidOperationException when importing a type implementing 
+IXmlSerializable to which attributes affecting XML serialization have 
+been applied (eg. XmlTypeAttribute).
+
+The attached test allows you to reproduce this issue. I'll add unit tests 
+for it later.
+
+Note: on .NET 2.0, the XmlRootAttribute is allowed as only exception to 
+this rule.


More information about the mono-bugs mailing list