W3C home > Mailing lists > Public > www-validator@w3.org > June 1999

Re: bug report

From: L. David Baron <dbaron@fas.harvard.edu>
Date: Thu, 17 Jun 1999 16:33:41 -0400 (EDT)
Message-Id: <199906172033.QAA30589@ice3.fas.harvard.edu>
To: 210273@HSholland.nl, www-validator@w3.org
On Thu, 17 Jun 1999 07:41:36 -0400 (EDT), "Ploeger, M"
(210273@HSholland.nl) wrote:
> I've found a bug and isolated the code:
> <A HREF=http://www.widexs.nl/><IMG
> SRC="http://www.widexs.nl/banners/animwidexs.gif" BORDER="0"
> ALT="WideXS"></A>

This isn't a bug.  You need to have the "http://www.widexs.nl/" in
quotes.  However, the reason it doesn't catch the error earlier is
because there is a correct interpretation (although I am a little
surprised ":" doesn't need to be quoted):

<a href=http://

is equivalent to:

<a href="http:"></a>

because of SHORTTAG (or is it OMITTAG?), so the whole thing parses as:

<a href="http:"></a>
<img src="http:..." border="0" alt="WideXS">

which shows why 'end tag for element "A" which is not open' is the
correct error.

Received on Thursday, 17 June 1999 16:33:43 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:25 UTC