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 <kk...@transpac.com> on 2009/10/11 17:44:24 UTC

Re: Super-types for text mime types

I created TIKA-308 to capture this issue.

Leaving on vacation soon, but should be able to submit a patch in  
early November.

-- Ken

On Sep 30, 2009, at 2:38am, Jukka Zitting wrote:

> Hi,
>
> On Mon, Sep 28, 2009 at 11:40 PM, Ken Krugler
> <kk...@transpac.com> wrote:
>> Easy enough to fix, but in looking through the tika-mimetypes.xml  
>> file I
>> wonder how many other types need similar treatment.
>
> As mentioned in my previous email, 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
>
> BR,
>
> Jukka Zitting

--------------------------
Ken Krugler
TransPac Software, Inc.
<http://www.transpac.com>
+1 530-210-6378