private File xls;
private File xlsx;
+ private File xlsxStrict;
private File xltx;
private File xlsEmb;
POIDataSamples ssTests = POIDataSamples.getSpreadSheetInstance();
xls = getFileAndCheck(ssTests, "SampleSS.xls");
xlsx = getFileAndCheck(ssTests, "SampleSS.xlsx");
+ xlsxStrict = getFileAndCheck(ssTests, "SampleSS.strict.xlsx");
xltx = getFileAndCheck(ssTests, "test.xltx");
xlsEmb = getFileAndCheck(ssTests, "excel_with_embeded.xls");
);
extractor.close();
+ // TODO Support OOXML-Strict, see bug #57699
+// extractor = ExtractorFactory.createExtractor(xlsxStrict);
+// assertTrue(
+// extractor
+// instanceof XSSFExcelExtractor
+// );
+// extractor.close();
+//
+// extractor = ExtractorFactory.createExtractor(xlsxStrict);
+// assertTrue(
+// extractor.getText().contains("test")
+// );
+// extractor.close();
+
// Word
assertTrue(