.xlsx file that opens w/ other applications is silently imported without content #510
Labels
No Label
DBF
Dates
Defined Names
Features
Formula
HTML
Images
Infrastructure
Integration
International
ODS
Operations
Performance
PivotTables
Pro
Protection
Read Bug
SSF
SYLK
Style
Write Bug
good first issue
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sheetjs/sheetjs#510
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi there,
What reasons would there be for an excel file that (say) Apple Numbers can import without issue, failing silently with js-xlsx? By failing I mean no sheets are recorded, and the non-existent sheets are then not populated with data (obviously). No errors are sent to console.
test.xlsx
Thanks!
In general it tries not to blow up if certain things look weird. Passing the option
WTF:1
to read or readFile will suppress that behavior. In the node command that's the--dev
option.In this file, there were a few XML inconsistencies. For certain tags like
numFmt
, the spec asserts that the content must be empty. Excel and Numbers usually write these cells with an empty body but this file has a zero-length string body.For example, here's the first number format (rename the XLSX file with a .zip extension, extract, and look at
xl/styles.xml
):The expected form is
We will roll out a fix soon.