Forum Discussion

DevaV's avatar
DevaV
Contributor
14 years ago

Unable to open XML because its format is not supported or it holds wrong data.

Hi,



We tried with various XML files in Storages.XML but it throws an exception with message 'Unable to open the  file "D:\Test1.xml" because its format is not supported or it holds wrong data'



Please find code used.



function TestXML() {



  try{

    var xmlPath = Storages.XML("D:\\Test1.xml");

  }



  catch(exception){

    Log.Error(exception.message);

  }



}






I have attached various xml files that we have tried.



Please suggest on this to proceed further.