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
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.