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 [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=78536 --- shadow/78536 2006-05-29 22:25:32.000000000 -0400 +++ shadow/78536.tmp.27941 2006-05-29 22:37:14.000000000 -0400 @@ -1,14 +1,14 @@ Bug#: 78536 Product: Mono: Class Libraries Version: 1.1 -OS: +OS: unknown OS Details: XP SP2 -Status: NEW -Resolution: -Severity: +Status: RESOLVED +Resolution: INVALID +Severity: Unknown Priority: Major Component: Sys.XML AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] QAContact: [EMAIL PROTECTED] TargetMilestone: --- @@ -24,6 +24,34 @@ Actual Results: - XMLSerializer reports unknown node Expected Results: - should add text as is + +------- Additional Comments From [EMAIL PROTECTED] 2006-05-29 22:37 ------- +It just works. + +-------- +using System; +using System.Xml; +using System.Xml.Serialization; + +public class Test +{ + public string Foo = "foo"; + + public static void Main () + { + XmlSerializer ser = new XmlSerializer (typeof (Test)); + string xml = @"<Test xmlns:xsd='http://www.w3.org/2001/XMLSchema' +xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'> + <Foo><![CDATA[foo]]></Foo> +</Test>"; + ser.Deserialize (new XmlTextReader (xml, XmlNodeType.Document, null)); + } +} + +---- + +Next time you post bugs, please attach reproducible example code. Read +other random bug reports and you'll understand how to write them. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
