[Xerte] SendAndLoad confusion

Julian Tenney Julian.Tenney at nottingham.ac.uk
Mon Feb 1 09:31:57 GMT 2010


So would I. It ought to struggle loading from a different domain if
there's no crossdomain policy on the server you're requesting the data
from - this ought to work at authoring tiime though?

 

loadXML uses an XML object's load method to load the data; sendAndLoad
uses sendAndLoad, but why that should be different beats me. No silly
mistakes in the path or anything?

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: Saturday, January 30, 2010 2:29 PM
To: Xerte list
Subject: [Xerte] SendAndLoad confusion

 



xmlPage.loadXML('http://www.myserver.com/access/xml/overhead.xml');
//this works

xmlPage.sendAndLoad(myReq, FileLocation + 'overhead.xml'); //this works

xmlPage.sendAndLoad(myReq,
'http://www.myserver.com/access/xml/overhead.xml'); //this doesn't 
//no event ever fires

I thought if it was security issue, loadXML shouldn't work either. 

________________________________

Hotmail: Powerful Free email with security by Microsoft. Get it now.
<http://clk.atdmt.com/GBL/go/196390710/direct/01/> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20100201/4cbbc873/attachment.html


More information about the Xerte mailing list