Apparent bug in SVG DTD

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 UTC