Wording of shared mime spec

David Faure dfaure at trolltech.com
Wed Sep 10 01:57:50 PDT 2008


On Monday 18 August 2008, you wrote:
> On Mon, 2008-08-18 at 16:44 -0400, Matthias Clasen wrote:
> > On Mon, 2008-08-18 at 20:08 +0200, David Faure wrote:
> > > The spec currently says, about glob matching:
> > > 
> > > "If several patterns match then the longest pattern SHOULD be used."
> > > 
> > > With the recent addition of glob weights, this sentence is missing "... of the same weight", isn't it?
> > > 
> > > This way *.tar.bz2 is preferred over *.bz2 (as was the intent of this sentence),
> > > but still weights are obeyed, so that README.* loses to *.pdf
> > > 
> > 
> > You are right, that should be clarified.
> 
> Feel free to drop let me know what to change it to (bonus points for
> patches), and I'll get Vincent to update it on the website after that.

Here's a patch with the changes I would suggest, please double-check and apply.

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: shared-mime-info-spec.xml.diff
Type: text/x-diff
Size: 2240 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/xdg/attachments/20080910/5b45edfb/attachment.diff 


More information about the xdg mailing list