On lun, 2003-01-20 at 16:22, Pieter Suurmond wrote:
Wikipages generated by the server do not follow W3C recommmendations. Now that we eventually have an open standard for HTML, why not use it?
Forgetfulness?
One of the reasons why http://www.wikipedia.org does not validate is that the character-set is not specified, you should include a line like this:
<META HTTP-EQUIV="content-type" CONTENT="text/html; charset=ISO-8859-1">
This is set in the http headers. I assume you were validating a copy that lacks the header?
You can easily see what other errors are made, when you type in an URI at http://validator.w3.org/. Page "http://www.wikipedia.org/" for example is not Valid HTML 4.01 Transitional! Below are the results of attempting to parse this document with an SGML parser.
1.Line 7, column 7: required attribute "TYPE" not specified.
<SCRIPT> ^
Grr... I blame Magnus. Fixed.
2.Line 87, column 28: start tag for "TR" omitted, but its declaration does not permit this.
<th colspan="2" align=center><big> Selected Articles </big></th></tr> ^
That's an error in the wiki page; our parser can correct some errors, but isn't smart enough to fix all of them. Fixed.
The front page now validates.
-- brion vibber (brion @ pobox.com)