randym/axlsx — Issue #21: ENOENT error with xsd files referenced in lib/axlsx/util/constants.rb and repair warning
Author: phongsi
Created: 2012-01-30 16:59:54+00:00
State: open

I'm not sure if this is a bug or if it's just me. I required axlsx in my rails 3 project, and Package::validate method did not work giving me the enoent error saying lib/schema/#{somefile}.xsd was not a file or directory. I went into the gem in .rvm and manually added the absolute dir path to each of these xsd constants. That fixed my error and validate worked.

So I think there is a bug when setting the xsd constants to relative paths.

Also, I'm using Mac excel 2011 and the latest axlsx gem 1.0.15. Everytime I create an xls file, it needs to be repaired. I looked into an earlier bug submission #1 about this. At least for me, the bug is still persisting.