Patch to support different cases in xlsx internal files

41 views
Skip to first unread message

Jacek

unread,
Oct 4, 2011, 3:15:51 PM10/4/11
to ruby...@googlegroups.com
Hello everyone,

I tried to process the xlsx file with Roo, but I couldn't read any strings from the file. After frustrating for three hours or so, I found the reason (and solution). The internal file which contains strings had a non standard name - "sharedstrings.xml" instead of "sharedStrings.xml". I fixed the issue by changing just 3 lines of code. That should prevent such problems in similar cases. I attached the patch. 

Have a nice day,
Jacek
excelx_support_for_internal_filenames_with_different_cases.patch

Thomas Preymesser

unread,
Oct 5, 2011, 6:12:59 AM10/5/11
to ruby...@googlegroups.com
Hello Jacek,

On 2011-10-04, Jacek <jba...@gmail.com> wrote:
> I tried to process the xlsx file with Roo, but I couldn't read any strings
> from the file. After frustrating for three hours or so, I found the reason
> (and solution). The internal file which contains strings had a non standard
> name - "sharedstrings.xml" instead of "sharedStrings.xml".

this is interesting. Which application created thes .xlsx files?

-Thomas

--
Thomas Preymesser
tho...@gmail.com
http://thopre.googlepages.com/
http://thopre.wordpress.com/

Jacek

unread,
Oct 5, 2011, 1:33:05 PM10/5/11
to ruby-roo
> this is interesting. Which application created thes .xlsx files?

Hello Thomas. It was generated by Bio-Rad CFX Manager 2.1 ( http://goo.gl/Va9Xg
)

Jacek
Reply all
Reply to author
Forward
0 new messages