tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick Burch (JIRA)" <j...@apache.org>
Subject [jira] Commented: (TIKA-588) MIME detection for iWork documents returns application/zip
Date Thu, 27 Jan 2011 17:54:46 GMT

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

Nick Burch commented on TIKA-588:
---------------------------------

I've tweaked the mimetypes file with your change and a few related ones, thanks for your patch

TestContainerAwareDetector has tests which show that with the container aware detector we
detect correctly. 

TestMimeTypes now has a new test which shows we can do it with the filename, but for pure
data based you need a container detector

> MIME detection for iWork documents returns application/zip
> ----------------------------------------------------------
>
>                 Key: TIKA-588
>                 URL: https://issues.apache.org/jira/browse/TIKA-588
>             Project: Tika
>          Issue Type: Bug
>          Components: mime
>    Affects Versions: 0.8
>            Reporter: Alexander Chow
>             Fix For: 0.9
>
>         Attachments: iWork.patch
>
>
> When using Tika.detect() on iWork files, it always returns application/zip. Although
the ZipContainerDetector is called by the CompositeDetector, the iWork mime types (application/vnd.apple.keynote,
application/vnd.apple.pages, application/vnd.apple.numbers) are not configured to be subtypes
of application/vnd.apple.iwork or application/zip.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message