Proposal for a MIME mapping spec

David Faure dfaure at trolltech.com
Thu Jul 8 22:28:38 EEST 2004


On Thursday 08 July 2004 21:19, Ville Skyttä wrote:
> On Thu, 2004-07-08 at 21:31, Sean Middleditch wrote:
> > On Thu, 2004-07-08 at 14:13, Ville Skyttä wrote:
> > > On Thu, 2004-07-08 at 00:22, Jonathan Blandford wrote:
> > > 
> > > > Comments?  Questions?  Concerns?
> > > 
> > > Has wildcarding or regexps been considered?
> > > 
> > > For example it could be convenient to be able to write
> > >   MimeType=text/*;application/*xml;
> > 
> > That would be a _really_ bad idea.  But since we have type inheritance,
> > it isn't necessary.  All MIME types that are compatible with text/plain
> > should inherit from it, so anything that supports text/plain will
> > support them as well.
> 
> Cool, that's a lot better indeed.  Is it implemented somewhere already?

Yes. KDE supports mimetype inheritance, and I filed some time ago 
a bug report with a patch that adds many inheritance definitions to the
mime spec:
http://pdx.freedesktop.org/cgi-bin/bugzilla/show_bug.cgi?id=619
It would be nice to have confirmation that it was applied though...

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).




More information about the xdg mailing list