Gzipped svg files in the local filesystem

Hello svg-wg,

I've been looking at the 1.1 and 1.2T specifications for conformance  
criteria for svg viewer UA:s in particular when encountering an *.svgz  
file in the local filesystem. I can't find a requirement for such files to  
be displayed - surely the intention isn't that such files must cause an  
error message to appear in the UA?

Reading [1] it seems clear that *.svgz files don't fulfill the  
requirements for being a "conforming standalone svg stand-alone file".  
Should there be a similar conformance class for svgz files (along with  
clear requirements for displaying such files), or is wasting diskspace  
considered to be a good thing? Incidentally it would also mean that e.g  
Inkscape and Illustrator are not "Conforming SVG Generators".

Here's my proposed new wording (to be added to the confomance criteria  

[[ Conforming Compressed SVG Stand-Alone Files

A file is a Conforming Compressed SVG Stand-Alone File if:
- the first bytes of the file are 0x1F8b (the fixed ID1 and ID2 fields  
 from the gzip file format header, as defined in RFC1952),
- the file extension is "svgz",
- the decompressed contents of the file fulfills all the requirements for  
"Conforming SVG Stand-Alone Files".

and changing G.6 to be:

[[ Conforming SVG Generators

A Conforming SVG Generator is a program which:
- always creates at least one of Conforming SVG Document Fragments,  
Conforming Compressed SVG Stand-Alone Files or Conforming SVG Stand-Alone  
- does not create non-conforming SVG document fragments of any of the  
above types.

Finally add a clause that requires either "Conforming SVG Interpreters" or  
"Conforming SVG Viewers" to support "Conforming Compressed SVG Stand-Alone  


[1] http://www.w3.org/TR/SVG11/conform.html#ConformingSVGStandAloneFiles

Erik Dahlstrom, Core Technology Developer, Opera Software
Co-Chair, W3C SVG Working Group
Personal blog: http://my.opera.com/macdev_ed

Received on Sunday, 7 November 2010 15:59:16 UTC