Bug 63847 - #57699 I need support.
Summary: #57699 I need support.
Status: RESOLVED DUPLICATE of bug 57699
Alias: None
Product: POI
Classification: Unclassified
Component: XSSF (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-15 01:19 UTC by gundae
Modified: 2019-10-15 06:05 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gundae 2019-10-15 01:19:18 UTC
Now almost everything is resolved.

XSSFWorkbook wb = new XSSFWorkbook(new FileInputStream(new File(
File path+"Hello.xlsx")));

When the above query is executed, the following error occurs.

org.apache.poi.POIXMLException: Strict OOXML isn't currently supported, please see bug #57699


I am using poi 3.17 and jdk 1.7.

How can I fix the error?
Comment 1 Andreas Beeker 2019-10-15 06:05:32 UTC
> How can I fix the error?

There are several ways to answer this:
1. As the exception says, this is not implemented and we have bug #57699 to track any attempt to do so.

2. You could check the OOXML spec and implement it yourself ... if you would do it the XmlBeans way, you would have a schema unrelated to the current transitional schema and a lot of the POI OOXML classes have to be modified/duplicated to handle it

3. The easiest: don't save your files in strict open xml format

*** This bug has been marked as a duplicate of bug 57699 ***