[thelist] Read local file in gecko

u233 at shaw.ca u233 at shaw.ca
Mon Dec 13 10:19:20 CST 2004


Hello,

I'm working on a project to build a gecko-based application that needs to open 
an XML file from the user's hard drive and read it's DOM tree. The 
application resides on the user's hard drive too (so it's not failing the 
same-source constraint).

I've tried XMLHttpRequest, document.implementation.createDocument, and 
<object />. All of them fail to load the file (Mozilla Firefox 1.0). Does 
anyone know why or how to fix it?


More information about the thelist mailing list