On Fri, 2008-02-01 at 17:48 +0100, David Faure wrote:
> > David Faure wrote:
> > > However I just had a case where "take subclass" might be needed:
> > > when the *magic* conflicts. Try "<!--foo--><html>bar</html>": this should
> > > be detected as text/html, but it's detected as application/xml here 
> > > because
> > > both mimetypes have       <match value="&lt;!--" type="string" 
> > > offset="0"/>
> > > and they have the same priority for that magic rule! (50)
> > > I believe this is a bug in freedesktop.org.xml, the rules for html should 
> > > have higher
> > > priority than the rules for xml, to fix this. But I guess we could also 
> > > say
> > > "the xml is fine, we just need to pick the subclass when conflicting 
> > > magic rules
> > > match". I wouldn't like that though, since it would make the 
> > > implementation
> > > more complex.
> > > 
> > > Do you agree with making the magic rules for xml priority 40?
> > 
> On Tuesday 16 October 2007, Alexander Larsson wrote:
> > Yes, that sounds good to me.
> 
> OK, can someone make the change in CVS -- or can I get a CVS account?
> We still have the above bug... Please apply this patch:

I commited this. But you should probably try to get a freedesktop cvs
account for the future.

_______________________________________________
xdg mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/xdg

Reply via email to