[Python-Dev] PEP html display in IE (original) (raw)

David Goodger goodger@python.org
Tue, 12 Nov 2002 21:07:43 -0500


Fredrik Lundh wrote:

Reading the XHTML specification might also help:

I have. So many specs, so little time :)

you're using an XHTML DTD, but the files are missing the mandatory xmlns declaration on the html tag (see section 3.1.1, item 3 of the XHTML specification).

Corrected. Thanks for the pointer.

As the original author of pep2html.py, let me ask you something. Plaintext PEPs use the HTML 4 transitional DTD (loose.dtd), but pep2html.py claims to produce XHTML. Should the DOCTYPE be switched to the XHTML DTD? Or is this a case of "if it ain't broke, don't fix it"?

-- David Goodger <goodger@python.org> http://www.python.org/peps/ Python Enhancement Proposal (PEP) Editor (Please cc: all PEP correspondence to <peps@python.org>.)