i try to build a little XUL app that will run in our intranet.
I get some data from one of the intranet servers via xmlhttprequest.
then I try to get some specific node out of the resultXML using XPath evaluator.
but this fails when the xmlhttprequest was send against another server, not the one running the XUL.
the request itself works (privilege granted) and I get a responseXML.
But I cannot use this responseXML Dom object as source in the xpath evaluator. I get
Error: [Exception... "Security error" code: "1000" nsresult: "0x805303e8 (NS_ERROR_DOM_SECURITY_ERR)"
so the responseXML still knows that it belongs to another domain? how can I get a "local copy" of that dom?
I tried responseXML.firstChild.cloneNode(true)
but that results in
Error: [Exception... "'Permission denied to call method XMLDocument.cloneNode'
Is there any chance to get this to work?
there are various servers/domains in our intranet and I need to connect from everyone to each other
thanks Jens
