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

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

I thought about logging any custom-mimetype override applied, so the user will 
be warned about that. Maybe additionally creating a specific attribute in 
mimetype definition xml to configure it must override the default one instead 
of aborting. About multiple conflicting custom mimes from different (external) 
projetcs, Tika currently aborts and it is already a problem now.
 
So I think it needs additional discussion and should not be addressed in the 
next release. Will copy/paste this discussion in the jira issue.
 
But I would like to see fixed the detection of MTS videos, but it conflicts 
with another existing mime glob. Any workaround for this specific case? If yes, 
I can open a different ticket.

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

Reply via email to