You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've downloaded a bunch (649) of xlsx files from the UNFCCC ... National Greenhouse gas inventories. While XLSX parses most of them successfully, there are a few with the following error ...
ERROR: LoadError: XMLError: Document is empty from XML parser (code: 4, line: 1)
I'm slowly learning about these xlsx files ... from a position of total ignorance. It seems like the problems are due to some of these so-called comments files being empty. Why should an empty file be considered a showstopper?
If I put some properly formatted xml in the comments file, the problem vanishes. But there can be multiple empty comments file in each xlsx file and I can't work out a method of automating the patching process.
I've downloaded a bunch (649) of xlsx files from the UNFCCC ... National Greenhouse gas inventories. While XLSX parses most of them successfully, there are a few with the following error ...
ERROR: LoadError: XMLError: Document is empty from XML parser (code: 4, line: 1)
See attached file ...
HUN_2023_2008_15042023_034852.xlsx
I certainly don't need the "internal XML file", so some way of ignoring them would be enough of a workaround for
me.
Many thanks
The text was updated successfully, but these errors were encountered: