This is going to have a lot of context as I'm not 100% sure how to ask what I'm asking.
I've been mocking up a website (I say mocking up because nothing is online yet). I have a folder with a series of images and an XML document (though it could be anything) detailing the order that the images need to be displayed. Is an XML document the best way to do this? Is there a better way?
I've been having trouble reading the XML document on chrome which is apparently because of local file security risks. Why is this a security risk when I can use other local sources (images) fine? This works on other browsers, but I can't get non local files working on any browser.
There are many examples such as: http://www.w3schools.com/xml/tryit.asp?filename=tryxml_parsertest
The problem is that these are assuming the files are local:
xmlhttp.open("GET", "note.xml", false);
and when they provide them they never provide them as a page:
www.notarealwebsite.com/note.xml
Just as something you can copy. So I can't check if the javascript works properly.
I feel like I'm being stupid. Main question: How do I test my xml parser?