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

Re: [x]html head parsing bug in validator

From: Gabor Hojtsy <gabor@hojtsy.hu>
Date: Sat, 26 Apr 2003 20:08:04 +0200
To: Bjoern Hoehrmann <derhoermi@gmx.net>
Cc: www-validator@w3.org
Message-id: <200304262008.04092.gabor@hojtsy.hu>

> >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&verb
>ose=1&sp=1

Well, thanks for the information. I now know that my page will hardly validate 
as HTML 4.01... It's sad that the SGML interpretation is that far from 
browser interpretation....

Thanks for the englightment,
Goba
Received on Saturday, 26 April 2003 14:06:00 GMT

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