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

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

Thank you [~gagravarr]. Currently I am adding that definition in 
custom-mimetypes.xml, but I can not add the glob pattern because Tika complains 
about an extension conflict. Is it possible to implement glob pattern 
overriding within a custom-mimetypes.xml? Should I open a new issue for that?

> Detection for VirtualPC VHD files
> ---------------------------------
>
>                 Key: TIKA-1444
>                 URL: https://issues.apache.org/jira/browse/TIKA-1444
>             Project: Tika
>          Issue Type: Improvement
>          Components: mime
>    Affects Versions: 1.6
>            Reporter: Luis Filipe Nassif
>            Priority: Minor
>             Fix For: 1.7
>
>
> Please, remove the <glob pattern="*.vhd"/> entry from text/x-vhdl mimetype 
> definition and add the following:
> {code}
> <mime-type type="application/x-vhd">
>       <glob pattern="*.vhd"/>
>       <magic priority="50">
>               <match value="conectix" type="string" offset="0"/>
>       </magic>
> </mime-type>
> {code}



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

Reply via email to