Public bug reported:
Binary package hint: file
1) The release of Ubuntu you are using, via 'lsb_release -rd' or
System -> About Ubuntu.
Intrepid
2) The version of the package you are using, via 'apt-cache policy
packagename' or by checking in Synaptic.
4.24-4
3) What you expected to happen
That `file --mime-type some.xml` (where some.xml is any file
containing valid XML) should return either text/xml, application/xml,
or something more specific (like application/atom+xml for example).
4) What happened instead
More often than not, just text/plain is returned. Sometimes, like for
/usr/share/mime/text/x-haskell.xml, text/x-pascal is returned, or for
/usr/share/xml/docbook/schema/dtd/catalog.xml, text/html is reported,
both of which are wrong.
I ran:
locate *.xml | xargs file --brief --mime-type |
egrep '(application|text)/xml'
and got no output at all. The `locate` command found about 28000
files.
** Affects: file (Ubuntu)
Importance: Undecided
Status: New
--
file(1) no longer recognises XML content
https://bugs.launchpad.net/bugs/285031
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs