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





--- Comment #2 from Yegor Kozlov <[email protected]>  2009-07-23 04:31:29 PST ---
I have a feeling it has to do with Bugs 47432 and 46419. If yes, then the
problem is not how we generate SpreadsheetML, but how we build OPC packages. 

Leif, 

 can you please check the two attached files :

  - poi-test-1.xlsx. This is a simple test created by POI. Mac Excel 2008
should fail to read it. OpenOffice 3.0 can't read it either.
  - poi-test-2.xlsx. This is a "fixed" version of  poi-test-1.xlsx, readable by
OpenOffice 3.0

The fix:

 1. unzip a file generated by POI
 2. edit /_rels/.rels and remove leading slashes from Targets:

Target="/xl/workbook.xml" --> Target="xl/workbook.xml"
Target="/docProps/core.xml" --> Target="docProps/core.xml"

all core relationships must be fixed. 

  3. zip the edited files into a .xlsx file


Regards,
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