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

Report information
The Basics
Id:
81507
Status:
new
Priority:
Low/Low

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

BugTracker
Severity:
Critical
Broken in:
0.13
Fixed in:
(no value)



Subject: Parse error in workbook.xml.rels
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 614
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 runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

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