tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kabron Kline (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (TIKA-1159) Incorrect Mime Type Detected for Adobe InDesign Files
Date Tue, 13 Aug 2013 19:40:50 GMT

     [ https://issues.apache.org/jira/browse/TIKA-1159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kabron Kline updated TIKA-1159:
-------------------------------

    Attachment: AdobeInDesign.indd

Test file to reproduce the reported issue.
                
> Incorrect Mime Type Detected for Adobe InDesign Files
> -----------------------------------------------------
>
>                 Key: TIKA-1159
>                 URL: https://issues.apache.org/jira/browse/TIKA-1159
>             Project: Tika
>          Issue Type: Bug
>          Components: mime
>    Affects Versions: 1.4
>            Reporter: Kabron Kline
>            Priority: Minor
>         Attachments: AdobeInDesign.indd
>
>
> Tika detects "application/octet-stream" mime type for Adobe InDesign files. I resolved
this via creating the following entry in custom-mimetypes.xml :
> <mime-type type="application/x-adobe-indesign">
> 	<acronym>INDD</acronym>
> 	<_comment>Adobe InDesign document</_comment>
> 	<glob pattern="*.indd" />
> 	<magic priority="50">
> 		<match value="0x0606edf5d81d46e5bd31efe7fe74b71d" type="string"
> 			offset="0" />
> 	</magic>
> </mime-type>
> Can we include this magic number pattern in the main tika-mimetypes.xml?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message