Re: Creating a DOM Document from HTTP Request of XML failing

Boris Zbarsky <[email protected]> Tue, 06 Apr 2010 12:05:47 -0400
Newsgroups gmane.comp.mozilla.devel.dom
Message-ID <[email protected]>
On 4/6/10 12:01 PM, Cris wrote:
> No headers. That XML was the entire output. I'm guessing this is the
> problem.

Yep.  Either the server needs to claim the output is XML or you need to 
tell your XHR to treat the data as XML no matter what the server says.

-Boris