[Clipart] getid3 updated svg suport

Jon Phillips jon at rejon.org
Mon Nov 2 08:25:33 PST 2009


Cool! I added bassel and michael to this, and the list...would one of
you guys have time to test and apply this code? Its a good stopgap for
that bug we encounter, and might be good to add getid3 support to aiki
anyway...

Jon

On Sun, Nov 1, 2009 at 1:43 PM, Roan Horning <Roan at horning.us> wrote:
> Hi Jon,
>
> Attached in the tar.gz archive are files containing updated code for
> svg/svgz support for the latest version of getid3 (1.7.9-20090308).
>
> Like my previous code, this will check if the file is well formed xml,
> and minimally validates that it is svg (throws an error if the first xml
> element is not the svg tag.
>
> This code fixes the memory issues that my previous code had. I searched
> the mailing list archives for images that created problems before, and
> they now run with no problem.
>
> For examples of problem files see:
> http://lists.freedesktop.org/archives/clipart/2007-February/006983.html
> http://lists.freedesktop.org/archives/clipart/2007-October/007835.html
>
> The new code is using the basic xml event based parser which has been a
> part of php since at least version 4. I'm hoping that the new code will
> be accepted into the main branch of the getid3 code, instead of being
> included as a user submitted module.
>
> Hope all is well,
>
> Roan
>
>
>
>



-- 
Jon Phillips
http://rejon.org/
+1.415.830.3884 (sf/global)
+86.134.3957.2035 (china)
Sent from Beijing, China



More information about the clipart mailing list