Bug 4836 - Missing support for SVGZ
Summary: Missing support for SVGZ
Status: RESOLVED FIXED
Alias: None
Product: shared-mime-info
Classification: Unclassified
Component: freedesktop.org.xml (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Jonathan Blandford
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-21 02:02 UTC by Luca Ferretti
Modified: 2005-10-31 08:27 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Luca Ferretti 2005-10-21 02:02:48 UTC
No entry for compressed SVG. So nautilus read them as gzip files.

I'll try to add svgz extension to existing entry for SVG files in  my
installation and I'll report if it works.
Comment 1 Luca Ferretti 2005-10-22 11:15:57 UTC
From http://www.w3.org/TR/SVG11/intro.html#MIMEType
<quote>
The MIME type for SVG is "image/svg+xml" (see [RFC3023]). The registration of
this MIME type is in progress at the W3C.

It is recommended that SVG files have the extension ".svg" (all lowercase) on
all platforms. It is recommended that gzip-compressed SVG files have the
extension ".svgz" (all lowercase) on all platforms.
</quote>

It seems there is no difference between SVG and SVGZ...

So the proper solution to this bug is 
   </magic>
       <glob pattern="*.svg"/>
+       <glob pattern="*.svgz"/>
   </mime-type>

isn't it?
Comment 2 Bastien Nocera 2005-11-01 03:27:14 UTC
2005-11-01  Bastien Nocera  <hadess@hadess.net>

        * freedesktop.org.xml.in: Add *.svgz as a glob for SVG files, from
        Luca Ferretti <elle.uca@libero.it> (Closes: #4836)
        * config.h.in: removed, it is a generated file


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.