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."<