I am trying to read xml file from arm board but it show parse error at line 1 column line 1.
If i am running the same file on x86 it read well and file.
can anyone suggest me what may be the problem ?
QDomDocument pDoc;
QFile xmlFile( strXMLFileAbsPath ); //QString strXMLFileAbsPath --- path where my xml file is saved.
if(!pDoc.setContent( &xmlFile,&msg,&line,&col ) )
{
qDebug() << __LINE__<<__PRETTY_FUNCTION__;
xmlFile.close();
qDebug()<<"=======load fail========" << msg << line << col;
return ERR_DOCUMENT_LOAD_FAIL;
}
thank and regards
vinod
Bookmarks