Re: wmf2svg and svgImage

The several errors mentioned have been addressed. The latest code and an
additional example are at http://www.blackdirt.com/graphics/svg/

Carmen
-- 
  Carmen@blackdirt.com


Chris Lilley wrote:
> 
> Carmen Delessio wrote:
> 
> > This is work in progress. Results so far include a reasonable SVG file
> > as well as a decent visual rendering of the same file.
> >
> > See http://www.blackdirt.com/graphics/svg/ for source code and samples.
> >
> > test.svg was created using test1.wmf as input to wmf2svg.
> 
> There were some errors in that file.
> 
> In the doctype, the url said http://www/w3/org instead of
> http://www.w3.org and, hence, the document would not validate and indeed
> could not be parsed by a parser that fetches external dtd subsets.
> 
> Once that was fixed:
> 
> <desc> cannot occur at arbitrary places inside <g>. Also, you have
> multiple occurences of <desc>.
> 
> The content model is
> 
> <!ENTITY % g_elements
> 
>   "(defs?,title?,desc?,(use|image|text|path|%shapes;|g|switch|svg|a)*)">
> 
> so the <defs> element can occur zero or one times and must be the first
> child element of <g>.
> 
> I attach a corrected and valid version of the test.svg instance.
> 
> Apart from these small errors, the rest of it looked fine.
> 
> --
> Chris
> 
>     ---------------------------------------------------------------
> 
>                                     Name: test.svg
>                      Part 1.2       Type: image/svg
>                                 Encoding: base64

Received on Thursday, 13 May 1999 22:40:17 UTC