I have a workbook, I can use Microsoft Office Excel 2003 (11.8211.8172) SP3 to open the workbook. But after I open and save workbook by POI 3.0.2 Released, I can't open it with Microsoft Office Excel 2003 (11.8211.8172) SP3. But I can open it with Open Office well.
Created attachment 22076 [details] origin workbook
Fixed in svn r663855. Looks like the fix for bug 41242 wasn't exactly right. The EndSubRecord was being skipped because its 'sid' is zero, and RecordInputStream assumes that all 'sid's are non-zero. The main change with the fix here was to add padding to the sub-record data. It seems to be padded to a 4-byte boundary even though this is not mentioned in the "MICROSOFT OFFICE EXCEL 97-2007 BINARY FILE FORMAT SPECIFICATION" (OOO document doesn't even include the OBJ(5Dh) record).
How should I do to get svn r663855 from POI site ?
Bug fixed. Thanks so much.