You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Gannon McGibbon (Jira)" <ji...@apache.org> on 2021/05/26 17:04:00 UTC

[jira] [Created] (TIKA-3421) Obsoleted mime types

Gannon McGibbon created TIKA-3421:
-------------------------------------

             Summary: Obsoleted mime types
                 Key: TIKA-3421
                 URL: https://issues.apache.org/jira/browse/TIKA-3421
             Project: Tika
          Issue Type: Improvement
          Components: core
            Reporter: Gannon McGibbon


We're currently using Tika's `tika-mimetypes.xml` to detect mime types for files based on extensions and magic in [rails/marcel|https://github.com/rails/marcel]. I'm wondering what Tika's stance is on retiring deprecated/obsolete mime types.

In [an issue|https://github.com/rails/marcel/issues/4], someone reported that the [message/news|https://www.iana.org/assignments/media-types/message/news] type was matching on any text file beginning with "Article". While this magic rule seems a little aggressive to me, the type has also been [deprecated by the IANA|https://www.iana.org/assignments/media-types/message/news] since 2009. Does Tika ever plan on removing support for deprecated types such as this? If not, I can change our XML parsing rules to reject certain types.

 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)