Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
0.4
-
None
-
None
Description
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".
Attachments
Attachments
Issue Links
- relates to
-
TIKA-308 Improve supertype handling in type registry
- Resolved