https://bz.apache.org/bugzilla/show_bug.cgi?id=58240
Bug ID: 58240
Summary: POI generated xls file fails validation
Product: POI
Version: 3.12-FINAL
Hardware: PC
OS: Linux
Status: NEW
Severity: major
Priority: P2
Component: HSSF
Assignee: [email protected]
Reporter: [email protected]
I have XLS file generated with POI (either 3.11 or 3.12). File is OK if I open
it with Open Office or Google Drive but fails in MS Office. Found that it fails
with the MS
Validator(http://www.microsoft.com/en-us/download/details.aspx?id=26794) with :
<BFFValidation path="NAME.xlsx" datetime="08/12/15 07:44:35" result="FAILED">
<ParseStack>
<Type builtinType="Docfile" docName="MS-XLS" sectionTitle="Compound File"
msdnLink="http://msdn.microsoft.com/en-us/library/b91df1c9-6bfa-4ab4-8218-7bb0d73624ca">
<Info>Built-in type "Docfile": The root storage object of an OLE compound
file. For more information, see
http://msdn.microsoft.com/en-us/library/dd942138.aspx.</Info>
</Type>
<Type builtinType="Stream" docName="MS-XLS" sectionTitle="Stream"
msdnLink="http://msdn.microsoft.com/en-us/library/f67ac5ed-b0a7-4b2c-9b7a-28933eeaac7e"
streamName="Workbook" streamOffset="0" hexStreamOffset="0x0">
<Info>Built-in type "Stream": Any stream object for OLE compound files.
The entire file contents for other files.</Info>
</Type>
<Type docName="MS-XLS" sectionTitle="Workbook Stream (Workbook)"
msdnLink="http://msdn.microsoft.com/en-us/library/f682f4b0-8c6b-444e-83f8-52d156f1e8ba"
streamName="Workbook" streamOffset="2747" hexStreamOffset="0xabb"/>
<Type docName="MS-XLS" sectionTitle="Workbook Stream (Workbook)"
msdnLink="http://msdn.microsoft.com/en-us/library/f682f4b0-8c6b-444e-83f8-52d156f1e8ba"
streamName="Workbook" streamOffset="2747" hexStreamOffset="0xabb"/>
<Type docName="MS-XLS" sectionTitle="Substream"
msdnLink="http://msdn.microsoft.com/en-us/library/dd947025(v=office.12).aspx"
streamName="Workbook" streamOffset="2767" hexStreamOffset="0xacf"/>
<Type docName="MS-XLS" sectionTitle="Record"
msdnLink="http://msdn.microsoft.com/en-us/library/170e90ce-87d7-4758-9331-dcf14cd72388"
streamName="Workbook" streamOffset="2767" hexStreamOffset="0xacf"/>
<Type docName="MS-XLS" sectionTitle="Index" sectionNumber="2.4.144"
msdnLink="http://msdn.microsoft.com/en-us/library/67C20922-0427-4C2D-96CC-2267D3F09E8C"
streamName="Workbook" streamOffset="2771" hexStreamOffset="0xad3"/>
<Type docName="MS-OSHARED" sectionTitle="FilePointer"
msdnLink="http://msdn.microsoft.com/en-us/library/dd904963(v=office.12).aspx"
streamName="Workbook" streamOffset="2783" hexStreamOffset="0xadf" childId="4"
hexChildId="0x4"/>
</ParseStack>
<LastData><![CDATA[
00 00 00 00 -- -- -- -- -- -- -- -- -- -- -- -- ....
]]></LastData>
</BFFValidation>
So it seem POI has generated incompatible file.
The content is quite simple - single sheet with two rows (first one bold) and
several cells.
Any suggestions?
Thanks
Aleksandar
--
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]