David Goodger wrote: > > 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. Well, I'm pretty sure it didn't produce valid XHTML when I checked it in... > Should the DOCTYPE be switched to the XHTML DTD? Or is this a case of > "if it ain't broke, don't fix it"? I checked a few random PEPs, and found two small problems: - the stylesheet link tag in the header has no end tag. - there's no xmlns attribute on the html element. Except from that, the output looks like XHTML to me and to the XML parser I used. So if you have the time... </F>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4