[jira] Resolved: (TIKA-121) MimeType.clean method no longer exists as a capability

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] Resolved: (TIKA-121) MimeType.clean method no longer exists as a capability

JIRA jira@apache.org

     [ https://issues.apache.org/jira/browse/TIKA-121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris A. Mattmann resolved TIKA-121.
------------------------------------

    Resolution: Fixed

- committed in r793417:
  - included unit tests in MediaTypeTest to determine whether or not params have been read appropriately, whether there is a semi-colon, or not
  - leverage MediaType.parse method to imitate same capability that MimeType.clean used to provide


> MimeType.clean method no longer exists as a capability
> ------------------------------------------------------
>
>                 Key: TIKA-121
>                 URL: https://issues.apache.org/jira/browse/TIKA-121
>             Project: Tika
>          Issue Type: Bug
>          Components: mime
>    Affects Versions: 0.1-incubating, 0.2, 0.3
>            Reporter: Chris A. Mattmann
>            Assignee: Chris A. Mattmann
>             Fix For: 0.4
>
>         Attachments: AutoDetectParser.patch
>
>
> For some reason, in r591743 (http://svn.apache.org/viewvc?rev=591743&view=rev), the MimeType.clean functionality was removed and never replaced. This is a problem because that functionality was somewhat necessary as I'm running into the problem of trying to upgrade Nutch to tika-0.1-incubating and Nutch relied on MimeType.clean.
> I've been scratching my head trying to determine an appropriate workaround for the same capability within the tika-0.1-incubating code, but have yet to find one. This functionality needs to be replaced in some form or fashion, or, if someone knows of a simple way to achieve the same functionality, please let me know.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.