Bug 58153 - Excel (2007) file cannot be open after saved (Workbook.write())
Summary: Excel (2007) file cannot be open after saved (Workbook.write())
Alias: None
Product: POI
Classification: Unclassified
Component: XSSF (show other bugs)
Version: 3.12-FINAL
Hardware: PC All
: P2 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
Depends on:
Reported: 2015-07-20 00:53 UTC by GuoHui Chen
Modified: 2015-08-10 09:07 UTC (History)
0 users

Error excel file (395.65 KB, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)
2015-07-20 00:53 UTC, GuoHui Chen

Note You need to log in before you can comment on or make changes to this bug.
Description GuoHui Chen 2015-07-20 00:53:03 UTC
Created attachment 32913 [details]
Error excel file

[Content Types].xml Root element <Types> no default namespace,
MUST be: 
<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types">

*.rels file Root Element <Relationships> no default namespace,
MUST be:
<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">
Comment 1 Dominik Stadler 2015-07-20 05:28:12 UTC
Do you have some sample code which you use to create this file?
Comment 2 Dominik Stadler 2015-08-10 09:07:57 UTC
We cannot look at this without some sample code that reproduces this, please reopen this bug as soon as you have attached the necessary sample code (self-sufficient producing a broken document, ideally as unit-test)