You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Mohamed Mustafa Khimani (JIRA)" <ji...@apache.org> on 2014/02/23 02:15:19 UTC
[jira] [Updated] (TIKA-1245) Incorrect MIME type detection
[ https://issues.apache.org/jira/browse/TIKA-1245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mohamed Mustafa Khimani updated TIKA-1245:
------------------------------------------
Attachment: 00000001 pages 250-329.pdf
Test file attached..
> Incorrect MIME type detection
> -----------------------------
>
> Key: TIKA-1245
> URL: https://issues.apache.org/jira/browse/TIKA-1245
> Project: Tika
> Issue Type: Bug
> Components: detector, mime
> Affects Versions: 1.4
> Reporter: Mohamed Mustafa Khimani
> Priority: Minor
> Attachments: 00000001 pages 250-329.pdf
>
>
> I am using Tika to detect the MIME type of a PDF file. The MIME type detection is incorrect.
> Tika tika = new Tika();
> System.out.println(tika.detect(new File(args[0])));
> The output is - audio/mpeg
> I was looking to attach the pdf document for testing along with this, but could not find how to do that.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)