You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Kabron Kline (JIRA)" <ji...@apache.org> on 2013/08/13 21:40:49 UTC

[jira] [Created] (TIKA-1159) Incorrect Mime Type Detected for Adobe InDesign Files

Kabron Kline created TIKA-1159:
----------------------------------

             Summary: 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