mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-22 13:48:09 +00:00
Recover on xml parsing error.
This commit is contained in:
parent
3878b016ab
commit
2f17787d93
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue