Cannot access to XML file with javascript

Cannot access to XML file with javascript

BY 29 Jun 2013 Web Application Development

Hello,

I am developing a HTML5 based app for Tizen, using their tizen-privilege API.

This app needs to get the content of a XML file hosted on a remote server using HTTP protocol. So i used a XMLHttpRequest object to deal with that :

xmlhttp=new XMLHttpRequest();
xmlhttp.open("GET","http://.../auto.xml",false);
xmlhttp.send(null);
xmlDoc=xmlhttp.responseXML;

And i got this error :

ABORT_ERR: XMLHttpRequest Exception 102: The user aborted a request in synchronous requests.

Could somebody tell me what does that mean ?

Written by