diff --git a/ExternData/Resources/C-Sources/ED_XLSXFile.c b/ExternData/Resources/C-Sources/ED_XLSXFile.c index bdf4712..2e8bf0c 100644 --- a/ExternData/Resources/C-Sources/ED_XLSXFile.c +++ b/ExternData/Resources/C-Sources/ED_XLSXFile.c @@ -209,7 +209,9 @@ void* ED_createXLSX(const char* fileName, int verbose, int detectMissingData) } XmlNode_deleteTree(root); - parseXML(xlsx->zfile, STR_XML, &xlsx->sharedStringsRoot); + if (parseXML(xlsx->zfile, STR_XML, &xlsx->sharedStringsRoot) != 0) { + xlsx->sharedStringsRoot = NULL; + } xlsx->loc = ED_INIT_LOCALE; switch (detectMissingData) {