W3C home > Mailing lists > Public > www-validator@w3.org > April 2003

Re: [x]html head parsing bug in validator

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Sat, 26 Apr 2003 19:09:37 +0200
To: Gabor Hojtsy <gabor@hojtsy.hu>
Cc: www-validator@w3.org
Message-ID: <3eccbc18.186171009@smtp.bjoern.hoehrmann.de>

* Gabor Hojtsy wrote:
>Brrrrr, <link can be closed with / ?? What standard says, that a tag can be 
>closed with / alone? I must have missed it.

http://www.w3.org/TR/html4/appendix/notes#h-B.3.7

>So then what if I have a normal 
>validating head, and this as the <body>:
><body><img src="http://www.w3.org/Icons/valid-xhtml10" alt="xhtml"/><hr 
>/></body>
>
>This also validates as HTML 4.01. None of the <img/> or <hr/> tags close the 
>body, or anything...

Again, the / closes the element and the following > is interpreted as
character data. Take a look at
http://validator.w3.org/check?uri=http%3A%2F%2Fgoba.hu%2Fvaltest2.html&verbose=1&sp=1
Received on Saturday, 26 April 2003 13:09:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:08 GMT