You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Mihai Glont (JIRA)" <ji...@apache.org> on 2016/12/11 17:49:58 UTC

[jira] [Commented] (TIKA-2194) matlab files detected as 'text/plain'

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

Mihai Glont commented on TIKA-2194:
-----------------------------------

I ran the matlab source from the script above through tika-app:1.14 and the detected mime type was 'x/matlab'. Where does the discrepancy arise from?

> matlab files detected as 'text/plain'
> -------------------------------------
>
>                 Key: TIKA-2194
>                 URL: https://issues.apache.org/jira/browse/TIKA-2194
>             Project: Tika
>          Issue Type: Bug
>          Components: detector, mime
>    Affects Versions: 1.9, 1.14
>            Reporter: Mihai Glont
>
> matlab files from https://issues.apache.org/jira/browse/TIKA-1634 are reported to have mime type 'text/plain' with either DefaultDetector or MimeTypes. I am able to reproduce the problem by running the following Groovy script https://gist.github.com/mglont/16630c8a66fdddaaa7aa44820d6f021f



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)