Skip Menu |
 
rt.cpan.org will be shut down on March 1st, 2021.

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
Download (untitled) / with headers
text/plain 614b
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.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.