load_workbook() crashs for workbooks from newer OnlyOffice (empty fills)
Created originally on Bitbucket by grubix (Michael J Gruber)
load_workbook() used open workbooks from OnlyOffice nicely, until an update. It crashes now when trying to parse the styles.
By hand-editing the xlsx, I traced the problem down to the following change in xl/styles.xml:
Old (working):
New (crashing):
There are more changes in xl/styles.xml, but once I add the patternFills to the fills node openpyxl can read the xlsx without crashing.
Maybe OnlyOffice is violating some specs, but parsing emty fills as such would still be nice.
Attachments: Test.xlsx