Re: obscure problem using elementtree to make xhtml website

2009-09-04 Thread Nobody
On Fri, 04 Sep 2009 13:21:54 +0200, Stefan Behnel wrote: Not a bug in IE (this time), which is correctly parsing the file as html. >>> ... which is obviously not the correct thing to do when it's XHTML. >> >> It isn't though; it's HTML with a XHTML DOCTYPE > > Not the page I look at (i.e. t

Re: obscure problem using elementtree to make xhtml website

2009-09-04 Thread Stefan Behnel
Richard Brodie wrote: > "Stefan Behnel" wrote: >> Lee wrote: >>> Not a bug in IE (this time), which is correctly parsing the file as html. >> ... which is obviously not the correct thing to do when it's XHTML. > > It isn't though; it's HTML with a XHTML DOCTYPE Not the page I look at (i.e. the li

Re: obscure problem using elementtree to make xhtml website

2009-09-04 Thread Richard Brodie
"Stefan Behnel" wrote in message news:4aa01462$0$31340$9b4e6...@newsspool4.arcor-online.net... >>Not a bug in IE (this time), which is correctly parsing the file as html. > > ... which is obviously not the correct thing to do when it's XHTML. It isn't though; it's HTML with a XHTML DOCTYPE, a

Re: obscure problem using elementtree to make xhtml website

2009-09-03 Thread Rami Chowdhury
basically any tag that can have content in html you had better close the html way (), or IE will see it as unclosed and will not display the rest of the page after the tag (or do something else unexpected). Not a bug in IE (this time), which is correctly parsing the file as html. ... which is ob

Re: obscure problem using elementtree to make xhtml website

2009-09-03 Thread Stefan Behnel
Lee wrote: > basically any tag that can > have content in html you had better close the html way (), > or IE will see it as unclosed and will not display the rest of the > page after the tag (or do something else unexpected). Not a bug in IE > (this time), which is correctly parsing the file as htm

Re: obscure problem using elementtree to make xhtml website

2009-09-03 Thread Lee
I went with a space, but a comment is a better idea. I only mention the

Re: obscure problem using elementtree to make xhtml website

2009-09-03 Thread Lee
I went with a space, but a comment is a better idea. I only mention the

Re: obscure problem using elementtree to make xhtml website

2009-09-03 Thread David Smith
Lee wrote: > Elementtree (python xml parser) will transform markup like > > > > into > > > > which is a reasonable thing to do for xml (called minimization, I > think). > > But this caused an obscure problem when I used it to create the xhtml > parts of my website, > causing Internet Explore

obscure problem using elementtree to make xhtml website

2009-09-03 Thread Lee
Elementtree (python xml parser) will transform markup like into which is a reasonable thing to do for xml (called minimization, I think). But this caused an obscure problem when I used it to create the xhtml parts of my website, causing Internet Explorer to display nearly blank pages. I expl