[Clipart] Re: SVG support for getID3

Nathan Eady eady at galion.lib.oh.us
Thu Feb 16 10:24:49 PST 2006


Bryce Harrington wrote:

> One way would be to retrieve the root element(s) and see if it is
> <svg...>.  

That was suggested before, but it turned out that a number of
SVG files that were submitted, which worked just fine in existing
SVG-capable programs such as Inkscape, did not have an svg element
as such.  (Namespaces are one reason for this, but ISTR there were
others as well; I do not recall all the details.)

> We'll also have to account for namespaces somehow; the file
> needs to have something like the following in its root element:
> 
>    xmlns="http://www.w3.org/2000/svg"

I strongly suspect there are working .svg files in the collection
that don't have this either.

I don't remember the *reason* why we wanted magic numbers for SVG
before, and I don't remember how hard we worked on it, but I do
remember that we concluded it wasn't practical.

Hmmm...  mailing list archive...

Ah, here it is:
http://lists.freedesktop.org/pipermail/clipart/2004-June/000391.html



More information about the clipart mailing list