obscure problem using elementtree to make xhtml website

Richard Brodie R.Brodie at rl.ac.uk
Fri Sep 4 06:13:11 EDT 2009


"Stefan Behnel" <stefan_ml at behnel.de> wrote in message 
news:4aa01462$0$31340$9b4e6d93 at 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, and the
compatibility rules in Appendix C of the XHTML recommendation apply.
http://www.w3.org/TR/xhtml1/#C_3





More information about the Python-list mailing list