randym/axlsx — Issue #19: Can't figure out the issue exactly.
Author: ejschmitt
Created: 2012-01-17 22:17:05+00:00
State: open

Hi,
I am not sure of the issue I am about to describe, but maybe as someone who knows the gem better this might make sense. Using version 1.0.15

When I create a single-worksheet workbook the file will open fine in excel and open-office (but with problems in Numbers). If I try to parse the file that was made with RubyXL it will blow up trying to open "sheet2.xml", even though the workbook.xml file appears to be valid:

If I open the file in excel and re-save it both the RubyXL issue goes away and Numbers can open the file correctly. Since excel adds a bunch of other junk it is difficult to determine what change to the files is what fixes things.

This seems very odd since RubyXL tries to use the xml in workbook.xml properly (https://github.com/gilt/rubyXL/blob/master/lib/rubyXL/parser.rb#L384).

Anyway, not really an issue per-say, I will continue to investigate, but if you have any suggestions or direction about addressing this let me know.

Regards,
Erick Schmitt