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/10/11 17:44:31 UTC

[jira] Created: (TIKA-308) Improve supertype handling in type registry

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.