[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Debian logo svg file is not loadable in Inkscape

Greetings, Fellow Debianists,

this is not actually a bug report but something that might concern us
all as a matter of Free Software use inside the Debian project:

The Debian logo file at http://www.debian.org/logos/openlogo.svg

fails to load in the much-respected SVG-based graphics editor Inkscape
(which I use daily and which works fine also for svg files not
produced by itself).

The error is this:

$ inkscape openlogo.svg
openlogo.svg:18: namespace warning : xmlns: URI &ns_svg; is not absolute
         xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" xmlns:a="http://ns.adobe.com/AdobeSV
openlogo.svg:22: namespace warning : xmlns: URI &ns_vars; is not absolute
                <variableSets  xmlns="&ns_vars;">
openlogo.svg:25: namespace warning : xmlns: URI &ns_custom; is not absolute
                                <v:sampleDataSets  xmlns="&ns_custom;" xmlns:v="&ns_vars;"></v:sampleDataSet
openlogo.svg:28: namespace warning : xmlns: URI &ns_sfw; is not absolute
                <sfw  xmlns="&ns_sfw;">

Note that The Gimp seems to load the file just fine, although also
with an error message:

Execution error for procedure 'gimp-vectors-import-from-file':
Failed to import paths from 'openlogo.svg':
Error on line 17: Entity name 'ns_extend' is not known

Also, Iceweasel seems to load the file fine since it displays

While I'm no expert in XML stuff, I see in the following lines at the
top of the file that the problems might relate to some Adobe-specific
namespace rules (or extensions, or whatever):

<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 10.0, SVG Export Plug-In . SVG Version: 3.0.0 Build 77)  -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"    "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"; [
        <!ENTITY ns_flows "http://ns.adobe.com/Flows/1.0/";>
        <!ENTITY ns_extend "http://ns.adobe.com/Extensibility/1.0/";>
        <!ENTITY ns_ai "http://ns.adobe.com/AdobeIllustrator/10.0/";>
        <!ENTITY ns_graphs "http://ns.adobe.com/Graphs/1.0/";>
        <!ENTITY ns_vars "http://ns.adobe.com/Variables/1.0/";>
        <!ENTITY ns_imrep "http://ns.adobe.com/ImageReplacement/1.0/";>
        <!ENTITY ns_sfw "http://ns.adobe.com/SaveForWeb/1.0/";>
        <!ENTITY ns_custom "http://ns.adobe.com/GenericCustomNamespace/1.0/";>
        <!ENTITY ns_adobe_xpath "http://ns.adobe.com/XPath/1.0/";>
        <!ENTITY ns_svg "http://www.w3.org/2000/svg";>
        <!ENTITY ns_xlink "http://www.w3.org/1999/xlink";>

Because opening the file in The Gimp transforms the svg graphics
object into a raster graphics object, the vector benefits of svg are
lost and thus The Gimp cannot be used as a substitute of Inkscape.

We may want to make sure that this file loads fine in Free Software
graphics svg-based programs and maybe convert it to either a more
generic svg file, or at least something free (Inkscape might be a good
candidate for this).

Any thoughts ?

Filippo Rusconi, PhD - public crypto key C78F687C @ pgp.mit.edu
Researcher at CNRS and Debian Developer <lopippo@debian.org>
Author of ``massXpert''     at http://www.massxpert.org

Attachment: signature.asc
Description: Digital signature

Reply to: