[ https://issues.apache.org/jira/browse/TIKA-950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris A. Mattmann updated TIKA-950: ----------------------------------- Affects Version/s: 1.1 Fix Version/s: (was: 1.1) - change to affects version > Wrong Office Open XML detection in ZipContainerDetector > ------------------------------------------------------- > > Key: TIKA-950 > URL: https://issues.apache.org/jira/browse/TIKA-950 > Project: Tika > Issue Type: Bug > Components: mime > Affects Versions: 1.1 > Reporter: Marco Quaranta > Priority: Minor > Labels: detection, ooxml > Attachments: ZipContainerDetector.diff > > > Method detectOfficeOpenXML() in ZipContainerDetector class does not detect > correctly an ooxml file due to an Exception throwed by OPCPackage.open(..) > POI's class. This class make use of ZipFile when its method is called with > (as Tika do) filePath string and in this way it generates an exception; > passing instead a fileInputStream makes POI correctly detects OfficeOpenXML > formats. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira