Re: Bug in Elementtree/Expat

2005-05-20 Thread uche . ogbuji
""" > 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

Re: Bug in Elementtree/Expat

2005-05-18 Thread Richard Brodie
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > 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

Re: Bug in Elementtree/Expat

2005-05-17 Thread alainpoint
Fredrik Lundh wrote: > > adding > > xmlns:xlink="http://www.w3.org/1999/xlink"; > > to the "svg" element should make the problem go away. Thanks for the tip. It indeed solves the problem. Most examples in the book do not include such a declaration and yet are properly rendered by Internet Ex

Re: Bug in Elementtree/Expat

2005-05-17 Thread Fredrik Lundh
[EMAIL PROTECTED] wrote: > I use Elementtree to parse an elementary SVG file (in fact, it is one > of the examples in the "SVG essentials" book). More precisely, it is > the fig0201.svg file in the second chapter. > The contents of the file are as follows (i hope it will be rendered > correctly):

Bug in Elementtree/Expat

2005-05-17 Thread alainpoint
Hello, I use Elementtree to parse an elementary SVG file (in fact, it is one of the examples in the "SVG essentials" book). More precisely, it is the fig0201.svg file in the second chapter. The contents of the file are as follows (i hope it will be rendered correctly): http://www.w3.org/TR/2001/RE