W3C home > Mailing lists > Public > www-svg@w3.org > May 1999

Re: wmf2svg and svgImage

From: Chris Lilley <chris@w3.org>
Date: Mon, 10 May 1999 14:05:26 -0500
Message-ID: <37372DF6.D9337F6B@w3.org>
To: carmen@blackdirt.com
CC: www-svg@w3.org


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



test.svg
(image/svg attachment: test.svg)

Received on Wednesday, 12 May 1999 10:50:45 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:17 GMT