To go back on your original question which is more in line with "what to do when we get two conflicting globs?":<div><br></div><div>I think resulting behaviour should be the same as what you would do when getting two conflicting, same-priority magics. The spec doesn't seem to advocate a behaviour in this case[1]. In general, if there are conflicts, they should be solved using the priority attribute at the package level.</div>

<div><br></div><div>It would be a good idea to specify a behaviour when getting such conflicts.</div><div><br></div><div>[1] <a href="http://standards.freedesktop.org/shared-mime-info-spec/shared-mime-info-spec-latest.html#id2710814">http://standards.freedesktop.org/shared-mime-info-spec/shared-mime-info-spec-latest.html#id2710814</a></div>

<div><br clear="all"><div>J. Leclanche</div>
<br><br><div class="gmail_quote">On Tue, Mar 5, 2013 at 12:41 PM, Jerome Leclanche <span dir="ltr"><<a href="mailto:adys.wh@gmail.com" target="_blank">adys.wh@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<a href="http://web.archive.org/web/20090625062109/http://www.modmyi.com/wiki/index.php/Iphone_PNG_images" target="_blank">http://web.archive.org/web/20090625062109/http://www.modmyi.com/wiki/index.php/Iphone_PNG_images</a><div>

<br></div>
<div>I.. don't even know what to say.</div><div><br></div><div>If they are invalid PNGs then they should not be a child of image/png. However they shouldnt register the *.png glob either as a glob implies "You can somewhat safely assume such a file is of this mime type".</div>


<div><br></div><div>With that said, I don't think such a mime type has a place in freedesktop.org.xml:</div><div> - It's not an officially recognized mime type in any way</div><div> - It's was likely originally intended to be a valid image/png</div>


<div> - It's an implementation-specific bug/workaround/detail</div><div> - PNG is a massively popular file format, who the hell thought this was a good idea?</div><div><br></div><div>2c</div><div><br clear="all"><div>


J. Leclanche</div><div><div class="h5">
<br><br><div class="gmail_quote">On Tue, Mar 5, 2013 at 12:22 PM, Thomas Kluyver <span dir="ltr"><<a href="mailto:thomas@kluyver.me.uk" target="_blank">thomas@kluyver.me.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div dir="ltr"><div><div class="gmail_extra"><div class="gmail_quote">On 5 March 2013 11:58, Jerome Leclanche <span dir="ltr"><<a href="mailto:adys.wh@gmail.com" target="_blank">adys.wh@gmail.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">


Are they valid PNGs? If so, it sounds like the mime type should just be a child of image/png and drop the glob here.</blockquote></div><br></div></div><div class="gmail_extra">It's not clear, and I don't have one to examine. I would guess that they're not valid:<br>





<br></div><div class="gmail_extra">- The commit message where the mimetype was added described them as 'Apple broken PNGs'<br></div><div class="gmail_extra">- An Apple Q&A page says that 'Preview' (the OS X image & PDF viewer) can't open "iOS-optimized" PNGs. (Just Works</sarcasm>)<br>





<a href="http://developer.apple.com/library/ios/#qa/qa1681/_index.html" target="_blank">http://developer.apple.com/library/ios/#qa/qa1681/_index.html</a><span><font color="#888888"><br><br></font></span></div>
<span><font color="#888888"><div class="gmail_extra">Thomas<br></div></font></span></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div>