HTML support #419
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#419
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?
While doing a readFile for .xls file following error occurs.
switch(state[state.length-1][0]) {
^
TypeError: Cannot read property '0' of undefined
at parse_xlml_xml (/home/abc/node_modules/xlsx/xlsx.js:8815:32)
at parse_xlml (/home/abc/node_modules/xlsx/xlsx.js:9171:53)
at readSync (/home/abc/node_modules/xlsx/xlsx.js:11393:21)
at Object.readFileSync (/home/abc/node_modules/xlsx/xlsx.js:11403:9)
at Object. (/home/abc/readXL.js:2:20)
at Module._compile (module.js:541:32)
at Object.Module._extensions..js (module.js:550:10)
at Module.load (module.js:458:32)
at tryModuleLoad (module.js:417:12)
at Function.Module._load (module.js:409:3)
please help me out
I meet the same problem. I solve it by save the document again.
@vineetl @chenvan can you share a file that shows this problem? I suspect those are really HTML files that happen to have the XLS extension, since that particular error and codepath mean the file started with a
<
(which the library guesses is a SpreadsheetML file)@SheetJSDev your guess is maybe right. My document is exported from a website which is about chinese stock markets. Do you still want me to send you a copy? I don't know how to send to you? An email?
@chenvan You can send an email to com sheetjs dev
@chenvan received the file. As I guessed, it was an HTML file. This export is particularly interesting because of the number format hints in the style:
We'll keep this issue open until we decide how to handle HTML files.