[Mono-bugs] [Bug 50041][Wis] New - Uris being deserialized as strings

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 23 Oct 2003 06:15:26 -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 orphennui@yahoo.com.

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

--- shadow/50041	2003-10-23 06:15:26.000000000 -0400
+++ shadow/50041.tmp.21449	2003-10-23 06:15:26.000000000 -0400
@@ -0,0 +1,96 @@
+Bug#: 50041
+Product: Mono/Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: System.XML
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: orphennui@yahoo.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Summary: Uris being deserialized as strings
+
+When deserializing a property of type Uri, I get the following exception
+because the value passed to the property setter is a string:
+
+Unhandled Exception: System.ArgumentException: parameters
+in <0x00089> System.Reflection.MonoMethod:Invoke
+(object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
+in <0x00141> System.Reflection.MonoProperty:SetValue
+(object,object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
+in <0x00026> System.Reflection.PropertyInfo:SetValue (object,object,object[])
+in <0x00111> System.Xml.Serialization.XmlTypeMapMember:SetValue (object,object)
+in <0x00084>
+System.Xml.Serialization.XmlSerializationReaderInterpreter:SetMemberValue
+(System.Xml.Serialization.XmlTypeMapMember,object,object,bool)
+in <0x023cc>
+System.Xml.Serialization.XmlSerializationReaderInterpreter:ReadMembers
+(System.Xml.Serialization.ClassMap,object,bool,bool)
+in <0x00058>
+System.Xml.Serialization.XmlSerializationReaderInterpreter:ReadClassInstanceMembers
+(System.Xml.Serialization.XmlTypeMapping,object)
+in <0x001fa>
+System.Xml.Serialization.XmlSerializationReaderInterpreter:ReadClassInstance
+(System.Xml.Serialization.XmlTypeMapping,bool,bool)
+in <0x00069>
+System.Xml.Serialization.XmlSerializationReaderInterpreter:ReadObject
+(System.Xml.Serialization.XmlTypeMapping,bool,bool)
+in <0x00166>
+System.Xml.Serialization.XmlSerializationReaderInterpreter:ReadClassInstance
+(System.Xml.Serialization.XmlTypeMapping,bool,bool)
+in <0x00069>
+System.Xml.Serialization.XmlSerializationReaderInterpreter:ReadObject
+(System.Xml.Serialization.XmlTypeMapping,bool,bool)
+in <0x0013b>
+System.Xml.Serialization.XmlSerializationReaderInterpreter:ReadObjectElement
+(System.Xml.Serialization.XmlTypeMapElementInfo)
+in <0x003b1>
+System.Xml.Serialization.XmlSerializationReaderInterpreter:ReadListElement
+(System.Xml.Serialization.XmlTypeMapping,bool,object,bool)
+in <0x01999>
+System.Xml.Serialization.XmlSerializationReaderInterpreter:ReadMembers
+(System.Xml.Serialization.ClassMap,object,bool,bool)
+in <0x00058>
+System.Xml.Serialization.XmlSerializationReaderInterpreter:ReadClassInstanceMembers
+(System.Xml.Serialization.XmlTypeMapping,object)
+in <0x001fa>
+System.Xml.Serialization.XmlSerializationReaderInterpreter:ReadClassInstance
+(System.Xml.Serialization.XmlTypeMapping,bool,bool)
+in <0x00069>
+System.Xml.Serialization.XmlSerializationReaderInterpreter:ReadObject
+(System.Xml.Serialization.XmlTypeMapping,bool,bool)
+in <0x00166>
+System.Xml.Serialization.XmlSerializationReaderInterpreter:ReadClassInstance
+(System.Xml.Serialization.XmlTypeMapping,bool,bool)
+in <0x00069>
+System.Xml.Serialization.XmlSerializationReaderInterpreter:ReadObject
+(System.Xml.Serialization.XmlTypeMapping,bool,bool)
+in <0x0013b>
+System.Xml.Serialization.XmlSerializationReaderInterpreter:ReadObjectElement
+(System.Xml.Serialization.XmlTypeMapElementInfo)
+in <0x003b1>
+System.Xml.Serialization.XmlSerializationReaderInterpreter:ReadListElement
+(System.Xml.Serialization.XmlTypeMapping,bool,object,bool)
+in <0x01999>
+System.Xml.Serialization.XmlSerializationReaderInterpreter:ReadMembers
+(System.Xml.Serialization.ClassMap,object,bool,bool)
+in <0x00058>
+System.Xml.Serialization.XmlSerializationReaderInterpreter:ReadClassInstanceMembers
+(System.Xml.Serialization.XmlTypeMapping,object)
+in <0x001fa>
+System.Xml.Serialization.XmlSerializationReaderInterpreter:ReadClassInstance
+(System.Xml.Serialization.XmlTypeMapping,bool,bool)
+in <0x00069>
+System.Xml.Serialization.XmlSerializationReaderInterpreter:ReadObject
+(System.Xml.Serialization.XmlTypeMapping,bool,bool)
+in <0x000ad>
+System.Xml.Serialization.XmlSerializationReaderInterpreter:ReadObject ()
+in <0x0007b> System.Xml.Serialization.XmlSerializer:Deserialize
+(System.Xml.Serialization.XmlSerializationReader)
+in <0x0007c> System.Xml.Serialization.XmlSerializer:Deserialize
+(System.Xml.XmlReader)