https://bugzilla.novell.com/show_bug.cgi?id=660011
https://bugzilla.novell.com/show_bug.cgi?id=660011#c0 Summary: Cannot parse XML with XDocument.Parse - Text node cannot appear in this state. Line 1, position 1. Classification: Mono Product: MonoTouch Version: SVN Platform: Macintosh OS/Version: Mac OS X 10.6 Status: NEW Severity: Normal Priority: P5 - None Component: Class Libraries AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0b7) Gecko/20100101 Firefox/4.0b7 I cannot use XDocument.Parse to parse XML which has a Byte order mark. This works fine on Windows .Net Framework. Attached MonoTouch with simple repo. Reproducible: Always Steps to Reproduce: 1. Get XML with BOM 2. Use XDocument to parse 3. Fails Actual Results: Fails when trying to parse the XML. Expected Results: Should be able to parse the XML with XDocument. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
