You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Luis Filipe Nassif (JIRA)" <ji...@apache.org> on 2018/02/26 23:46:00 UTC

[jira] [Commented] (TIKA-1466) Enable overriding of mimetype glob pattern definitions

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

Luis Filipe Nassif commented on TIKA-1466:
------------------------------------------

We have hit this again. We encountered some MTS videos and tried to define a mimetype for them, but already exists a model/vnd.mts mimetype declaring *.MTS glob pattern. I think definitions in custom-mimetypes.xml files should override the built-in Tika ones. What do you think fellow devs?

> Enable overriding of mimetype glob pattern definitions
> ------------------------------------------------------
>
>                 Key: TIKA-1466
>                 URL: https://issues.apache.org/jira/browse/TIKA-1466
>             Project: Tika
>          Issue Type: Improvement
>          Components: mime
>    Affects Versions: 1.6
>            Reporter: Luis Filipe Nassif
>            Priority: Major
>
> I think it is important to enable an overriding of the default tika-mimetypes.xml glob pattern definitions within a custom-mimetypes.xml. Currently, you can not define in a custom mimetype an already used glob pattern, even if you redefine in custom-mimetypes.xml the first mimetype using the conflicting glob pattern. The same extension can be used by different applications in different domains or datasets. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)