[Mono-bugs] [Bug 660011] New: Cannot parse XML with XDocument.Parse - Text node cannot appear in this state. Line 1, position 1.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Dec 16 16:07:11 EST 2010


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: gnorton at novell.com
        ReportedBy: chrisntr at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          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.


More information about the mono-bugs mailing list