I have an XML file that starts with the following tags:

<?xml version="1.0"?>

<PLAY>
<TITLE>data</TITLE>

<FM>
<P>data</P>
<P>data</P>
<P>data</P>
<P>more data.</P>
</FM>

<PERSONAE>
<TITLE>data</TITLE>


However, it being detected as an HTML file because one of the magic numbers for text/html is the TITLE tag

I believe in this cases, the XML mime should be process before the HTML mime. However, this is not possible because the magic file is sorted by name. Right?

Is there something in place for this type of issues.

Thoughts??

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

Reply via email to