Comment 10 for bug 150851

Revision history for this message
Stéphane Loeuillet (leroutier) wrote :

Perhaps the problem is that in the mime description, nothing says that those 2 mime types inherits text/xml (which itself inherits text/plain)

In clear, both mime types lack :
<sub-class-of type="application/xml"/>

<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">

<!-- New style subscription files. -->
   <mime-type type="application/x-miro">
     <sub-class-of type="application/xml"/>
     <comment>Miro Subscription File</comment>
     <glob pattern="*.miro"/>
   </mime-type>

<!-- Old style subscription files. -->
   <mime-type type="application/x-democracy">
     <sub-class-of type="application/xml"/>
     <comment>Democracy Subscription File</comment>
     <glob pattern="*.democracy"/>
   </mime-type>

</mime-info>