https://bugzilla.novell.com/show_bug.cgi?id=642227
https://bugzilla.novell.com/show_bug.cgi?id=642227#c0 Summary: DataContractSerializer.ReadObject fails if it encounters an unknown property Classification: Mono Product: Mono: Class Libraries Version: 2.8.x Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: CORLIB AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.10) Gecko/20100915 Ubuntu/10.04 (lucid) Firefox/3.5 When DataContractSerializer.ReadObject encounters an unknown property in the xml file it throws an exception: "System.Runtime.Serialization.SerializationException: Deserializing type 'DataContractSerializerBug.SomeClass'. Expecting state 'EndElement'. Encountered state 'Element' with name 'SomeProp' with namespace 'http://schemas.datacontract.org/2004/07/DataContractSerializerBug'" instead of ignoring the unknown element. Reproducible: Always Steps to Reproduce: See attachments -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
