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

Ken Krugler commented on TIKA-1245:
-----------------------------------

Would be useful to check if this PDF is detected properly with Marco's 
suggested change.

> 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)

Reply via email to