You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Ken Krugler (JIRA)" <ji...@apache.org> on 2009/09/29 00:32:15 UTC
[jira] Updated: (TIKA-296) Automatically set the supertype for
"+xml" mimetypes
[ https://issues.apache.org/jira/browse/TIKA-296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ken Krugler updated TIKA-296:
-----------------------------
Attachment: tika-296.patch
> Automatically set the supertype for "+xml" mimetypes
> ----------------------------------------------------
>
> Key: TIKA-296
> URL: https://issues.apache.org/jira/browse/TIKA-296
> Project: Tika
> Issue Type: Improvement
> Affects Versions: 0.4
> Reporter: Ken Krugler
> Priority: Minor
> Attachments: tika-296.patch
>
>
> The MimeTypes.forName() method currently has special-case code that auto-sets a mimetype's supertype (parent) to be text/plain if the mimetype name starts with "text/".
> Likewise, it should auto-set the supertype to be "application/xml" if the mimetype name ends with "+xml".
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.