Re: Howto compress svg, that will then validate?

Jeff,

> $ cat foo.svg | gzip > foo.svgz
also does not work,

it seems the validator does work in some instances as described in my  
original email, try:
> http://www.peepo.org.uk/temp/vxhtml11.svgz


regards


Jonathan Chetwynd

j.chetwynd@btinternet.com
http://www.iconomy.org/

+44 (0) 20 7978 1764


On 17 Apr 2008, at 15:36, Jeff Schiller wrote:

> The validator should be updated to handle compressed svg (i.e. the  
> validator should decompress the file before parsing it.  I consider  
> it a validator bug.
>
> Here's how I generate svgz files:
>
> $ cat foo.svg | gzip > foo.svgz
>
> If you're using Windows, then you can download cygwin...
>
> Regards,
> Jeff
>
>
> On 4/17/08, Jonathan Chetwynd <j.chetwynd@btinternet.com> wrote:
> Howto compress svg?
>
> I am having the devil's own job getting any svgz file to validate.
>
> current method: paste code into file, save as svg, gzip, rename  
> from .svg.gz to svgz
>
> works for Opera, Batik and Amaya but not the W3C validator, Mozilla  
> or Safari
>
> cheers
>
> Jonathan Chetwynd
>
> j.chetwynd@btinternet.com
> http://www.iconomy.org/
>
> +44 (0) 20 7978 1764
>
>
>
> tested with
> http://www.websitedev.de/svg/vxhtml11.svgz
>
> saved as
> http://www.peepo.org.uk/temp/vxhtml11.svgz
> to test server
>
> then copy and paste code into file, save as svg, gzip, rename  
> from .svg.gz to svgz
> http://www.peepo.org.uk/temp/testgzip.svgz
> wont validate
>

Received on Thursday, 17 April 2008 16:20:55 UTC