[Xerte] RE: No XML load on server

Patrick Lockley Patrick.Lockley at nottingham.ac.uk
Sat Dec 18 19:22:47 GMT 2010


What does fiddler show?
________________________________________
From: xerte-bounces at lists.nottingham.ac.uk [xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett [d_b_burnett at hotmail.com]
Sent: Saturday, December 18, 2010 6:07 PM
To: Xerte list
Subject: [Xerte] RE: No XML load on server

Works in authoring, works when index.htm dragged onto browser locally.
Sits at onLoad event trap when run off server.

debugger.setText(FileLocation + 'brand_' + brand + '.xml');

myReq = new XML('<request user="dave"/>');
ifc.sendAndLoad(myReq, FileLocation + 'brand_' + brand + '.xml');


======================

OK, bumbled across it.

doesn't like:
myReq = new XML('<request user="dave"/>');

this works:
myReq = new XML();


If the server sees data in the request object does it wait for it to be processed or something?
I know with .asp you have to send a response, even if it's null or a single character.


More information about the Xerte mailing list