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: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to