
Hi there,
I noticed that Inkscape bails w/ an error message 'Failed to load the requested file <filename>.svgz' when trying to open a compressed Inkscape file through the GUI. However, it can still load the same file just fine if I pass it to inkscape through the command-line:
$ # this works ok $ inkscape myfile.svgz
...when it errors out, I get the following error message on the command line:
Entity: line 1: parser error : Start tag expected, '<' not found � ^
To reproduce: 1 - create a new file 2 - add a shape (I just did a simple red square) 3 - save as 'Compressed Inkscape SVG (*.svgz)' 4 - close and re-open inkscape GUI 5 - in the GUI, File -> Open <your saved file> // this will result in the error 6 - open same file through command-line // this will open ok
I don't know how long this behavior has been around, I only started using compressed SVG's recently, but I see the behavior as far back as rev 20150.. I also keep rev 19967 handy (there seems to have been a performance regression since this build, when zooming in/out.. the canvas seems to refresh slower... but that's another matter altogether), and it suffers the same problem BOTH through the GUI and command-line.
I'll try bisecting down to the neighbor revs that fixed the command-line opening problem when I get some time later on tomorrow.
--Mike