Skip Menu |

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

Report information
The Basics
Id: 81507
Status: new
Priority: 0/
Queue: Spreadsheet-XLSX

People
Owner: Nobody in particular
Requestors: patrick_heissenberger [...] yahoo.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.13
Fixed in: (no value)



Subject: Parse error in workbook.xml.rels
XLSX.pm @line 91: /^Id="(.*?)".*?Target="(.*?)"/ or next; Problem: Attribute Id has to be the first one in the tag "Relationship". Otherwise extraction of Attribute "Id" and "Target" will fail. Received xlsx files with a different attribute order (Type, Target, Id) instead of expected order (Id, <something>, Target). Possible solution (replace line 91 and 93 with following code): if(/Id="(.*?)"/) { my $rel_id=$1; if(/Target="(.*?)"/) { my $rel_target=$1; $rels {$rel_id} = $rel_target; } } As I am a totally newbie in perl my code may not be very elegant. Please feel free to change.