[
https://issues.apache.org/jira/browse/TIKA-484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12909542#action_12909542
]
Victor Kazakov commented on TIKA-484:
-------------------------------------
I passed the file name to the parser and it was able to properly figure out the
file type.
metadata.set(Metadata.RESOURCE_NAME_KEY, filename);
Thank you.
> xlsx files created with open office are detected as application/zip
> -------------------------------------------------------------------
>
> Key: TIKA-484
> URL: https://issues.apache.org/jira/browse/TIKA-484
> Project: Tika
> Issue Type: Bug
> Components: parser
> Affects Versions: 0.7
> Environment: Ubuntu
> Reporter: Victor Kazakov
> Priority: Minor
> Attachments: openofficexlsxfile.xlsx
>
>
> Create an xlsx file in open office.
> Parse the file using a org.apache.tika.parser.AutoDetectParser
> It gets recognized as a zip file.
> Note: I have only tried this with open office running on ubuntu.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.