Bug in Elementtree/Expat

Richard Brodie R.Brodie at rl.ac.uk
Wed May 18 04:52:55 EDT 2005


<alainpoint at yahoo.fr> wrote in message news:1116343915.036584.32160 at g47g2000cwa.googlegroups.com...

> Most examples in the book do not include such a declaration and yet are
> properly rendered by Internet Explorer.
> Is it mandatory and why is it that Expat crashes on it?

It's not mandatory but it's probably good practice to make the document
self-contained. The xlink prefix is defined in the DTD but Expat, as a
nonvalidating parser, won't fetch it.






More information about the Python-list mailing list