Bug 47517

Summary: [PATCH] Extractor does not support XLTX and DOTX files
Product: POI Reporter: Maxim Valyanskiy <max.valjanski>
Component: POI OverallAssignee: POI Developers List <dev>
Status: RESOLVED FIXED    
Severity: normal CC: grizolle_benedicte
Priority: P2    
Version: 3.5-dev   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Attachments: patch
src/scratchpad/testcases/org/apache/poi/hwpf/data/test.dotx
src/testcases/org/apache/poi/hssf/data/test.xltx
Additional patch that adds more mime-types
and more mime types

Description Maxim Valyanskiy 2009-07-13 05:31:07 UTC
No supported documents found in the OOXML package
java.lang.IllegalArgumentException: No supported documents found in the OOXML package
        at org.apache.poi.extractor.ExtractorFactory.createExtractor(ExtractorFactory.java:108)
        at org.apache.poi.extractor.ExtractorFactory.createExtractor(ExtractorFactory.java:70)
        at org.apache.poi.extractor.TestExtractorFactory.testFile(TestExtractorFactory.java:112)

Patch and testcase attached
Comment 1 Maxim Valyanskiy 2009-07-13 05:32:04 UTC
Created attachment 23964 [details]
patch
Comment 2 Maxim Valyanskiy 2009-07-13 05:34:56 UTC
Created attachment 23965 [details]
src/scratchpad/testcases/org/apache/poi/hwpf/data/test.dotx
Comment 3 Maxim Valyanskiy 2009-07-13 05:35:20 UTC
Created attachment 23966 [details]
src/testcases/org/apache/poi/hssf/data/test.xltx
Comment 4 Maxim Valyanskiy 2009-07-16 02:50:07 UTC
Created attachment 23991 [details]
Additional patch that adds more mime-types
Comment 5 Maxim Valyanskiy 2009-07-17 02:52:24 UTC
Created attachment 24002 [details]
and more mime types
Comment 6 Yegor Kozlov 2009-07-18 02:29:46 UTC
Applied in r795327

Thanks,
Yegor
Comment 7 Yegor Kozlov 2009-07-18 02:40:56 UTC
*** Bug 45560 has been marked as a duplicate of this bug. ***