[jopendocument] Exception java.lang.IllegalArgumentException while opening ods file modified by Microsoft Excel

2013-08-20 Thread Ravi Joshi
Hi, I have created ods file using Apache OpenOffice Calc 4. After that this file has been modified and saved in Microsoft Excel. The file format is still ods but jopendocument is throwing below exception- Exception in thread "main" java.lang.IllegalArgumentException: Cannot change format versi

Re: [jopendocument] Exception java.lang.IllegalArgumentException while opening ods file modified by Microsoft Excel

2013-08-20 Thread Guillaume Maillard
Hi, Microsoft and standards a long story. In short, some versions of Excel just output invalid files (file format is not specified). I think we should add a flag to support invalid files, but for now, the quickfix is to modify org.jopendocument.dom.ODPackage.checkVersion. Regards, 2013/8/20

Re: [jopendocument] Exception java.lang.IllegalArgumentException while opening ods file modified by Microsoft Excel

2013-08-20 Thread Ravi Joshi
Hi Guillaume, Thanks for the suggestions. Can you provide me the updated jar with required changes or point me to that please? On Tuesday, August 20, 2013 10:25:21 PM UTC+5:30, guillaume...@gmail.com wrote: > > Hi, > Microsoft and standards a long story. > > In short, some versions of Exce

Re: [jopendocument] Exception java.lang.IllegalArgumentException while opening ods file modified by Microsoft Excel

2013-08-20 Thread Guillaume Maillard
Hi, We provide commercial support for this kind of request. Regards, Guillaume Le 20 août 2013 à 19:06, Ravi Joshi a écrit : > Hi Guillaume, > > Thanks for the suggestions. Can you provide me the updated jar with required > changes or point me to that please? > > On Tuesday, August 20, 20