W3C home > Mailing lists > Public > www-validator@w3.org > February 2000

Bug in validator with HTML 4 documents that are towards at XHTML compliance

From: Marc A. Donges <marc@kalle.yodanet.schwaebischhall.de>
Date: Tue, 1 Feb 2000 16:43:27 -0500 (EST)
To: www-validator@w3.org
Message-ID: <20000201224303.A3234@yodanet.schwaebischhall.de>
(When answering, please send me a copy as I am not subscribed to the


I recently tried to make my documents, which complied with HTML 4.0
Transitional, as compatible with XHTML 1.0 as possible (whithout
switching the DTD yet).

So I edited the documents for XML wellformedness.  I converted "<HR>" to
"<hr />", which was OK for the validator. When changing a "<LINK [...]>"
element to "<link [...] />", the HTML-validator started reporting errors.

It considers the "</head>" element which follows to be in the wrong
context! I believe that my changes do keep the code compatible with

When looking at the parse-tree, it seemed like the parser had worked
correctly, showing <LINK></LINK>. Can you tell me what went wrong? You
can find an example page at


  _ _  Marc A. Donges                        +49 791 51804
  'v'              <marc@yodanet.schwaebischhall.de>
 /   \               PGP-Key(DSA): 1024D/1C9ECFF2
  W W
 Fingerprint: 58B9 07A6 CBB1 7016 EB1D  7D35 EEBE 67DC 1C9E CFF2
Received on Tuesday, 1 February 2000 16:45:33 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:58:15 UTC