-
Notifications
You must be signed in to change notification settings - Fork 429
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception thrown when loading an XLSX file containing defined names without localSheetId
#685
Comments
This issue would be fixed by merging #686 |
Just for the record: because I did not need support for the |
Fix XLNT issue tfussell#685
I tested XLNT with some test files and noticed issues with the following file I downloaded from the internet: EBA Validation Rules March 2020 deactivation.xlsx
I got the following exception:
xl/workbook.xml:2:2581: error: attribute 'localSheetId' expected
In
xl\workbook.xml
the following piece of XML causes issues:The part that causes issue is that XLNT requires
localSheetId
to exist, while according to the official ECMA-376 that XML attribute is optional:To be precise, the following code in
xlsx_consumer::read_office_document
(which has been introduced in this pull request) causes issues:Could you please fix this bug before releasing XLNT 1.6? Thank you for developing this great library! 😃
The text was updated successfully, but these errors were encountered: