title: org.apache.poi.POIXMLException Strict OOXML isn't currently supported, please see bug #57699
body: <p>I'd like to parse an Excel file with java, so I'm using apache poi libraries, here you are the maven dependencies:</p>
  
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;org.apache.poi&lt;/groupId&gt;
      &lt;artifactId&gt;poi-ooxml&lt;/artifactId&gt;
      &lt;version&gt;3.14&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>This will include a series of dependencies:</p>
  
  <pre><code>poi-ooxml-3.14.jar
  poi-3.14.jar
  commons-codec-1.10.jar
  poi-ooxml-schemas-3.14.jar
  xmlbeans-2.6.0.jar
  stax-api-1.0.1.jar
  curvesapi-1.03.jar
  </code></pre>
  
  <p>When I try to read an Office 365 Excel file (.xslx) with this code:</p>
  
  <pre><code>import org.apache.poi.ss.usermodel.Cell;
  import org.apache.poi.ss.usermodel.Row;
  import org.apache.poi.ss.usermodel.Sheet;
  import org.apache.poi.ss.usermodel.Workbook;
  import org.apache.poi.xssf.usermodel.XSSFWorkbook;
  public class ExcelConverter {
  
      public static void main(String[] args) throws Exception{
          String excelFilePath = "C:/temp/Book1.xlsx";
          File myFile = new File(excelFilePath);
          System.out.println("File exists: " + myFile.exists());
          FileInputStream inputStream = new FileInputStream(myFile);
  
          Workbook workbook = new XSSFWorkbook(inputStream);
     }
  }
  </code></pre>
  
  <p>I got the following console message:</p>
  
  <pre><code>File exists: true
  Exception in thread "main" org.apache.poi.POIXMLException: Strict OOXML isn't currently supported, please see bug #57699
      at org.apache.poi.POIXMLDocumentPart.getPartFromOPCPackage(POIXMLDocumentPart.java:679)
      at org.apache.poi.POIXMLDocumentPart.&lt;init&gt;(POIXMLDocumentPart.java:122)
      at org.apache.poi.POIXMLDocumentPart.&lt;init&gt;(POIXMLDocumentPart.java:115)
      at org.apache.poi.POIXMLDocument.&lt;init&gt;(POIXMLDocument.java:61)
      at org.apache.poi.xssf.usermodel.XSSFWorkbook.&lt;init&gt;(XSSFWorkbook.java:273)
      at org.myCompany.excel.ExcelConverter.main(ExcelConverter.java:25)
  </code></pre>
  
  <p>Do you know what can I do to solve the issue?
  Thanks in advance</p>