I have a file which calamine fails to open. It crashes with index out of bounds: the len is 0 but the index is 0here. It happened that my file contains /xl/SharedStrings.xml (while [Content_Types].xml mentions /xl/sharedStrings.xml :facepalm:) and calamine expects /xl/sharedStrings.xml.
I did a quick search and it seems ECMA-376 assumes case-insensitive comparison of part names.
6.2.2.3 Part name equivalence and integrity in an abstract package
Equivalence of part names shall be determined by ASCII case-insensitive matching.
I have a file which
calamine
fails to open. It crashes withindex out of bounds: the len is 0 but the index is 0
here. It happened that my file contains/xl/SharedStrings.xml
(while[Content_Types].xml
mentions/xl/sharedStrings.xml
:facepalm:) andcalamine
expects/xl/sharedStrings.xml
.I did a quick search and it seems ECMA-376 assumes case-insensitive comparison of part names.