Subject: | Bug with worksheet NAME parameter |
HP-UX 11.0
Perl 5.6.1
Excel-Template-0.20
Spreadsheet::WriteExcel 2.02
It looks like there is a bug in implementing the NAME parameter to the worksheet element.
Example:
=================================================
test.xml
=================================================
<workbook>
<worksheet name="foobar">
<ROW><CELL>MidLifeXis</CELL></ROW>
</worksheet>
</workbook>
=================================================
=================================================
test.cgi
=================================================
use Excel::Template;
my $t = Excel::Template->new(filename=>'test.xml') or die "$!";
print "Content-type: application/vnd.ms-excel\r\n\r\n";
print $t->output;
=================================================
If you remove the NAME attribute from the xml file, it works. There are no error messages reported, just a corrupted xls file is generated.
If you need any more information, let me know.
MidLifeXis