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:24:16 UTC
[jira] Created: (TIKA-296) Automatically set the supertype for
"+xml" mimetypes
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.
[jira] Updated: (TIKA-296) Automatically set the supertype for
"+xml" mimetypes
Posted by "Ken Krugler (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (TIKA-296) Automatically set the supertype for
"+xml" mimetypes
Posted by "Ken Krugler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TIKA-296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ken Krugler updated TIKA-296:
-----------------------------
Attachment: (was: 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.
[jira] Updated: (TIKA-296) Automatically set the supertype for
"+xml" mimetypes
Posted by "Ken Krugler (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Resolved: (TIKA-296) Automatically set the supertype for
"+xml" mimetypes
Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TIKA-296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jukka Zitting resolved TIKA-296.
--------------------------------
Resolution: Fixed
Fix Version/s: 0.5
Assignee: Jukka Zitting
Patch committed in revision 820291.
> 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
> Assignee: Jukka Zitting
> Priority: Minor
> Fix For: 0.5
>
> 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.