tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ken Krugler (JIRA)" <j...@apache.org>
Subject [jira] Created: (TIKA-308) Improve supertype handling in type registry
Date Sun, 11 Oct 2009 15:44:31 GMT
Improve supertype handling in type registry
-------------------------------------------

                 Key: TIKA-308
                 URL: https://issues.apache.org/jira/browse/TIKA-308
             Project: Tika
          Issue Type: Improvement
          Components: mime
    Affects Versions: 0.4
            Reporter: Ken Krugler


When processing tika-mimetypes.xml, additional supertype information should be set so that
the right parser gets called if there's no explicit parser for that mime-type.

Jukka suggested:

The type registry could do with some implicit supertype settings like the following (in order):

* a type with an explicit <sub-class-of/> setting is a specialization
of the specified type
* a type with parameters is a specialization of the same type without parameters
* all */*+xml types are specializations of application/xml
* all text/* types are specializations of text/plain
* everything is a specialization of application/octet-stream


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


Mime
View raw message