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

Boris Zbarsky <[email protected]> Tue, 06 Apr 2010 09:41:41 -0400
Newsgroups gmane.comp.mozilla.devel.dom
Message-ID <[email protected]>
On 4/6/10 12:54 AM, Cris R wrote:
> rv does not get an error. eg rv is set to NS_OK, but the raw pointer
> of document, ends up being null, and the NS_ENSURE_TRUE exits my
> routine, so the<rest of my code>  does not execute.
>
> Why is this happening? Is my XML not proper?   Any thoughts?

Are you calling this GetResponseXML code _after_ the XHR completes?

-Boris