[
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
Updated patch to fix MimeTypesTest that's in tika-parsers (versus tika-core)
for some reason.
> 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.