https://issues.apache.org/bugzilla/show_bug.cgi?id=47251

Yegor Kozlov <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #4 from Yegor Kozlov <[email protected]> 2009-12-21 08:25:17 UTC ---
Thanks for the example. 

It looks like a bug in the Excel generator that produced the problematic file -
the second record in the Workbook stream is of type INTERFACEEND (0xE2)  while
it should be INTERFACEHDR (0xE1). It can be easily proved if you re-save the
file in Excel 2007: the record is preserved but its type is changed from  0xE2
to 0xE1. 

INTERFACEEND is a marker record that has no data. INTERFACEHDR holds a two byte
short value. 

Strictly speaking it is an error and violates the spec, but since Excel and
OpenOffice can silently read such files, POI should do the same.

The problem should be fixed in r892862 

Yegor

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to