Hi, currently shared-mime-info's magic for SVG files has a too small range. Attached is a sample file where it would fail if the extension of the file is not taken into account (i.e. when renaming it to bla instead of bla.svg and running gnomevfs-info --slow-mime bla). The mimetype would be reported as application/xml. Attached patch fixes this. Ubuntu Bug: https://bugs.launchpad.net/ubuntu/+source/shared-mime-info/+bug/91331 Bye
Created attachment 9895 [details] debian-blueish-wallpaper.svg
Created attachment 9896 [details] [review] 071_change_svg_tag_range.patch
Thanks, fixed [for some more XML subtypes]. Closing.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.