You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Tim Allison (JIRA)" <ji...@apache.org> on 2015/03/16 11:15:38 UTC

[jira] [Commented] (TIKA-1245) Incorrect MIME type detection

    [ https://issues.apache.org/jira/browse/TIKA-1245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14363019#comment-14363019 ] 

Tim Allison commented on TIKA-1245:
-----------------------------------

Sure. Let me know when to hit "run".

> 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.3.4#6332)