<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:12pt"><div>Thanks for your reply !<br><br>As you say probably not a bug but to my sense certainly an usability issue.<br><br>Thanks also about your off topic comment. But I don't know how I could precise an xlink namespace in FeImage filters when it must be precised by the person who uses the filter. Of course this isn't correct for displaying in a browser but this file is done to be parsed by Inkscape and as you said it works (However I don't have problems to open it in 0.48.01 and 0.48 devel 9936 on kubuntu 10.04).<br><br>Thanks again,<br>ivan<br></div><div style="font-family: arial,helvetica,sans-serif; font-size: 12pt;"><br><div style="font-family: arial,helvetica,sans-serif; font-size: 13px;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">De :</span></b> ~suv
<suv-sf@users.sourceforge.net><br><b><span style="font-weight: bold;">À :</span></b> Ivan Louette <ivan_louette@yahoo.fr><br><b><span style="font-weight: bold;">Cc :</span></b> Inkscape-devel@lists.sourceforge.net; clipart@lists.freedesktop.org<br><b><span style="font-weight: bold;">Envoyé le :</span></b> Sam 11 décembre 2010, 12h 30min 21s<br><b><span style="font-weight: bold;">Objet :</span></b> Re: [Inkscape-devel] Firefox corrupts svg files !<br></font><br>[ resending to the list this time ]<br><br>On 11/12/10 12:03, Ivan Louette wrote:<br><br>> Some time ago I placed some svg filters files on OpenClipart and more<br>> recently I heard from users that they didn't work despite all my tests<br>> were positive. Yesterday I discovered that following the way you take to<br>> download them they work or not. The problem seems to be specific to<br>> Firefox and doesn't occur with other browsers (tried with Safari,
Opera<br>> and Chrome).<br>> <br>> Here are the address of the two files :<br>> <br>> The first one is an Inkscape template which activates filters for<br>> background images or objects :<br>> <br>> <a href="http://www.openclipart.org/detail/92749" target="_blank">http://www.openclipart.org/detail/92749</a><br>> <br>> This second one contains color filters decicated to work on background<br>> object or images (place any shape on top of a picture and apply the<br>> filters to this shape) :<br>> <br>> <a href="http://www.openclipart.org/detail/92977" target="_blank">http://www.openclipart.org/detail/92977</a><br>> <br>> Here is the problem :<br>> <br>> - When you click on the "Download SVG" button on the OpenClipart<br>> page it opens the svg in Firefox. Then, if you save this SVG file<br>> displayed in Firefox and try to work with it in Inkscape it doesn't work<br>> because
Firefox changed something in the file.<br><br>In my experience (Firefox 3.6 on OS X 10.5.8) Firefox only modifies the<br>content of SVG files (e.g. replacing hex color definitions by 'rgb()'<br>values) if you save the SVG as 'Web page (complete)' instead of 'Web<br>page (SVG only)'. Don't forget to check when using 'File > Save Page<br>As…', because Inkscape remembers the last used setting (thus overriding<br>the correct mime-type sent by the server by respecting the user's choice).<br><br>AFAICT, if the file type in the 'Save Page As…' hasn't been changed<br>manually, Firefox uses the correct file type for SVG files and does<br>*not* modifiy the content in any way.<br><br>> - If you right click on the "Download SVG" button and do "Save<br>> target as", then the file download unchanged on your disk and all works<br>> as expected.<br><br>Yes, because AFAIU the correct file type (as declared or delivered by<br>the web server)
is used automatically.<br><br>> Could somebody send the bug to Firefox ?<br><br>Not sure this is really a bug in Firefox, maybe a usability issue?<br><br><br><off-topic><br>BTW - as commented in <<a href="http://www.openclipart.org/detail/90775" target="_blank">http://www.openclipart.org/detail/90775</a>> some of<br>your filter files don't 'open' in Inkscape (nor in Firefox) because they<br>are invalid SVG (no xlink namespace), though apparently this doesn't<br>prevent them from being parsed for the 'Filters' menu.<br><br>affects afaict:<br><<a href="http://www.openclipart.org/detail/90775" target="_blank">http://www.openclipart.org/detail/90775</a>><br><<a href="http://www.openclipart.org/detail/92899" target="_blank">http://www.openclipart.org/detail/92899</a>><br><<a href="http://www.openclipart.org/detail/95053" target="_blank">http://www.openclipart.org/detail/95053</a>><br></off-topic><br><br>hth,
~suv<br></div></div>
</div><br>
</body></html>