W3C home > Mailing lists > Public > www-svg@w3.org > January 2009

Apparent bug in SVG DTD

From: Peter Murray-Rust <pm286@cam.ac.uk>
Date: Fri, 02 Jan 2009 00:07:45 +0000
Message-ID: <495D5AD1.4090007@cam.ac.uk>
To: www-svg@w3.org, chris@w3.org

There seems to be a bug in an SVG DTD; the document

          <?xml version='1.0' encoding='UTF-8'?>
          <!DOCTYPE svg SYSTEM
"http://www.w3.org/TR/2000/03/WD-SVG-20000303/DTD/svg-20000303-stylable.dtd">
          <svg/>

throws an error in at least two parsers (XOM, layered on Xerces) and libxml

see 
http://lists.ibiblio.org/pipermail/xom-interest/2009-January/003801.html 
and previous discussion in that thread

In contrast the document

          <?xml version='1.0' encoding='UTF-8'?>
          <!DOCTYPE svg SYSTEM
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
          <svg/>

parses satisfactorily.

The error is apparently related to the parameter entity describing the 
namespace for SVG.

My current problem is that pstoedit uses this DTD for all its output 
files and therefore all of them crash.

[In passing let me say how much I support SVG. Not only do I use it for 
graphics output (wherever I can assume the recipient can render it), but 
it also acts as a very good data model for converting less pleasant 
graphics formats into structured form.]

P.
Received on Friday, 2 January 2009 00:08:19 GMT

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