GitHub user cstamas opened a pull request:

    https://github.com/apache/tika/pull/7

    WIP TIKA-1292: Fixing the MimeTypes class to consider "clusters" of magics 
by priority

    This changes MimeTypes class to consider "clusters" of magics instead of 
"first found" to resolve priority clashes like those described in issue.
    
    This is WIP, as the tika-core module builds okay, but tika-parsers module 
has one test failure, that am somewhat uncertain why. I'd like someone to take 
a peek and comment. Thanks.
    
    Issue
    https://issues.apache.org/jira/browse/TIKA-1292

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/cstamas/tika tika-1292-cluster-magics

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/tika/pull/7.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #7
    
----
commit 0528266e760c041a7eca757caa822b120c917cc5
Author: Tamas Cservenak <[email protected]>
Date:   2014-05-07T14:57:59Z

    TIKA-1292: Fixing the MimeTypes class
    
    To consider "clusters" of magics instead
    of just "first found".

commit 576f5988d4a70ac67aca03522acd7c576804ddc2
Author: Tamas Cservenak <[email protected]>
Date:   2014-05-07T15:36:46Z

    TIKA-1292: Simplified the patch
    
    By re-prioritizing the hint, if exists, and
    matches.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to