I'd appreciate if someone knows why this simple piece of widget javascript code fails on Nokia E71 but works in the Aptana WRT Widget emulator.


try // for Firefox, Mozilla, Opera, etc.
{
xmlDoc=document.implementation.createDocument("","",null);
}
catch(e) {alert(e.message)}

try
{
xmlDoc.async=false;
xmlDoc.load("Info.plist");
document.write("Info.plist is loaded, ready for use");
}
catch(e) {alert(e.message)}


The alert message I get is: "Value xmlDoc.load (result of expression xmlDoc.load) is not object."

My goal is to parse certain data from the widget property and configuration information file. Info.plist is a local file of course.