[Mono-bugs] [Bug 640404] New: XDocument doc = XDocument.Load(url) doesn't load the document

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Sep 19 13:05:34 EDT 2010


https://bugzilla.novell.com/show_bug.cgi?id=640404

https://bugzilla.novell.com/show_bug.cgi?id=640404#c0


           Summary: XDocument doc = XDocument.Load(url) doesn't load the
                    document
    Classification: Mono
           Product: MonoDroid
           Version: unspecified
          Platform: 64bit
        OS/Version: Windows 7
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Runtime
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: marschills at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Using XDocument doc = XDocument.Load(url) brings back an empty document

Actual Results:
No nodes are returned - it appears it isn't performing a HTTP GET at all (other
XDocument.Load() overloads work)

Expected Results:
A full XML document.

How often does this happen? 
Always

Additional Information:
The work around I use is:

WebClient client = new WebClient();
string text = client.DownloadString(url);
XDocument doc = XDocument.Load(new StringReader(text));

-- 
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.


More information about the mono-bugs mailing list