Recover on xml parsing error.

This commit is contained in:
Ghislain MARY 2013-10-02 17:20:32 +02:00
parent 3878b016ab
commit 2f17787d93

View file

@ -401,7 +401,7 @@ static int parse_file(Project *proj, const char *filename){
/*parse the file and get the DOM */
doc = xmlReadFile(filename, NULL, 0);
doc = xmlReadFile(filename, NULL, XML_PARSE_RECOVER);
if (doc == NULL) {
cerr<<"xmlReadFile failed."<<endl;