jandrew / Spreadsheet-XLSX-Reader-LibXML

Read spreadsheet files with xlsx extentions
Other
4 stars 2 forks source link

Crash in SharedStrings #49

Closed Tux closed 9 years ago

Tux commented 9 years ago

Using a simple xlsx testfile I also use in my Spreadsheet::Read tests: https://github.com/Tux/Spreadsheet-Read/blob/master/files/values.xlsx

$ perl -MSpreadsheet::XLSX::Reader::LibX ML -e'my$wb=Spreadsheet::XLSX::Reader::LibXML->new->parse("files/values.xlsx");f or$s($wb->worksheets){@cr=$s->col_range;@rr=$s->row_range;for$r($rr[0]..$rr[1]){ for$c($cr[0]..$cr[1]){$cell=$s->get_cell($r,$c);}}}' Can't use string ("t") as a HASH ref while "strict refs" in use at /pro/lib/perl5/site_perl/5.22.0/Spreadsheet/XLSX/Reader/LibXML/XMLReader/SharedStrings.pm line 254.

jandrew commented 9 years ago

@Tux, Thanks for submitting this. I will look at it today.

jandrew commented 9 years ago

OK, I have confirmed the error on my side as well and I have a formal test case now. Based on my availability I don't expect to get to this till the weekend.

jandrew commented 9 years ago

OK, So I got caught up in my move to Portland and basically dropped this work but I should be able to commit some time to it now.