W3C home > Mailing lists > Public > www-validator@w3.org > November 2004

Re: [VE][79] Error Message Feedback

From: Lachlan Hunt <lachlan.hunt@iinet.net.au>
Date: Sun, 14 Nov 2004 14:06:17 +1100
Message-ID: <4196CBA9.8020205@iinet.net.au>
To: David Dorward <david@dorward.me.uk>
CC: www-validator@w3.org

David Dorward wrote:
> Thus your code is roughly equivalent to:
> 
> <a
> href="http:"></a>/www.theregister.co.uk/2004/11/05/mod_oks_win2k_warships/>
> Windows for Warships safe for Royal Navy</a>

That's not quite right.  The first slash actually just closes the tag 
which, for empty elements, also closes the element.  However, for 
non-empty elements, it just closes the opening tag and the second slash 
closes the element.  So it is actually equivalent to:

<a 
href="http:"></a>www.theregister.co.uk/2004/11/05/mod_oks_win2k_warships/>
Windows for Warships safe for Royal Navy</a>

You can see that if you select "Show Parse Tree" in the validator 
options from the extened interface.

-- 
Lachlan Hunt
http://lachy.id.au/
http://GetFirefox.com/    Rediscover the Web
http://SpreadFirefox.com/   Igniting the Web
Received on Sunday, 14 November 2004 03:06:55 GMT

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