Skip Menu |

This queue is for tickets about the Spreadsheet-Read CPAN distribution.

Report information
The Basics
Id: 14587
Status: resolved
Priority: 0/
Queue: Spreadsheet-Read

People
Owner: HMBRAND [...] cpan.org
Requestors: MTHURN [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.07
Fixed in: (no value)



Subject: xlscat outputs <blank> where SS contains zero
I consider it a bug that xlscat outputs <empty-string> where the cell actually contains numeric zero.
RT-Send-CC: Kawai Takanori (Hippo2000) <kwitknr [...] cpan.org>
[MTHURN - Wed Sep 14 10:11:33 2005]: Show quoted text
> I consider it a bug that xlscat outputs <empty-string> where the cell > actually contains numeric zero.
Please state the backend: CSV, XLS, or SXC I /think/ you are working with Excel, because I just checked a fresh xls sheet where I entered in sequence 1. A1 2. a space 3. nothing 4. a 0 5. a 1 6. a ' and some comments on the second line. With some debug info, I got 1:1 'A1' / 'A1' 2:1 ' ' / ' ' 3:1 '-- undef --' / '-- undef --' 4:1 '-- undef --' / '-- undef --' 5:1 '1' / '1' 6:1 '-- undef --' / '-- undef --' A1||||1| 1:2 'label' / 'label' 2:2 'space' / 'space' 3:2 'empty' / 'empty' 4:2 'nul' / 'nul' 5:2 'one' / 'one' 6:2 'A single quote' / 'A single quote' label|space|empty|nul|one|A single quote 6 x 2 And a dump of the Spreadsheet::Parse internals shows me: 'PkgStr' => [ { 'Ext' => '', 'Rich' => '', 'Text' => 'A1', 'Unicode' => 0 }, { 'Ext' => '', 'Rich' => '', 'Text' => ' ', 'Unicode' => 0 }, { 'Ext' => '', 'Rich' => '', 'Text' => '', 'Unicode' => 0 }, { 'Ext' => '', 'Rich' => '', 'Text' => 'A single quote', 'Unicode' => 0 }, { 'Ext' => '', 'Rich' => '', 'Text' => 'empty', 'Unicode' => 0 }, { 'Ext' => '', 'Rich' => '', 'Text' => 'space', 'Unicode' => 0 }, { 'Ext' => '', 'Rich' => '', 'Text' => 'label', 'Unicode' => 0 }, { 'Ext' => '', 'Rich' => '', 'Text' => 'nul', 'Unicode' => 0 }, { 'Ext' => '', 'Rich' => '', 'Text' => 'one', 'Unicode' => 0 } ], 'SheetCount' => 2, Which IMHO makes your remark qualify as a Spreadsheet::ParseExcel bug
[HMBRAND - Wed Sep 14 11:34:26 2005]: Show quoted text
> [MTHURN - Wed Sep 14 10:11:33 2005]: >
> > I consider it a bug that xlscat outputs <empty-string> where the
> cell
> > actually contains numeric zero.
> > Please state the backend: CSV, XLS, or SXC > > I /think/ you are working with Excel, because I just checked a fresh > xls > sheet where I entered in sequence
Sorry. I think I found it. Need some more tests, but expect a new verion later today. MTHURN: thanks for the report Kawai: Sorry for the noise Show quoted text
> Which IMHO makes your remark qualify as a Spreadsheet::ParseExcel bug
Obviously, since I was able to change it, it's not
Solved in version 0.10