Access to restricted URI denied" code: "1012
<p>I am using jsGantt chart. To fill chart I am using xml file.<br><br>
<strong>Problem is that xml file is outside project(root directory). so when jsgantt.js try to load xml file to fill chart it gives error like <br></strong>
<img src="http://i.stack.imgur.com/yJ8kZ.png" alt="enter image description here"></p>

<p>jsGantt.js' code is below which throws error.</p>

<pre><code>JSGantt.parseXML = function(ThisFile,pGanttVar){
var is_chrome = navigator.userAgent.toLowerCase().indexOf('chrome') &gt; -1;   // Is this Chrome 

try { //Internet Explorer  
    xmlDoc=new ActiveXObject("Microsoft.XMLDOM");
    }
catch(e) {
    try { //Firefox, Mozilla, Opera, Chrome etc. 
        if (is_chrome==false) {  xmlDoc=document.implementation.createDocument("","",null); }
    }
    catch(e) {
        alert(e.message);
        return;
    }
}

if (is_chrome==false) {     // can't use xmlDoc.load in chrome at the moment
    xmlDoc.async=false;     
    xmlDoc.load(ThisFile);      // we can use  loadxml
    JSGantt.AddXMLTask(pGanttVar);
    xmlDoc=null;            // a little tidying
    Task = null;
}
else {
    JSGantt.ChromeLoadXML(ThisFile,pGanttVar);  
    ta=null;    // a little tidying 
}
};
</code></pre>

<p>error in <strong><em>xmlDoc.load(ThisFile);</em></strong> line where argument ThisFile is file path.</p>
