From 2f17787d93d16609f044c18c8af43d78867ae415 Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Wed, 2 Oct 2013 17:20:32 +0200 Subject: [PATCH] Recover on xml parsing error. --- tools/genwrappers.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/genwrappers.cc b/tools/genwrappers.cc index 96755ac56..a009a83d9 100644 --- a/tools/genwrappers.cc +++ b/tools/genwrappers.cc @@ -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."<