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

[Bug 14733] self-closing tag in <link rel="..." /> causes also error "end tag for head which is not close" in html 4.0

From: <bugzilla@jessica.w3.org>
Date: Thu, 10 Nov 2011 20:24:36 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1RObAq-0007nt-PR@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=14733

Ville Skyttä <ville.skytta@iki.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #1 from Ville Skyttä <ville.skytta@iki.fi> 2011-11-10 20:24:35 UTC ---
Self-closing tags like that don't exist in SGML (HTML) in the sense they do in
XML.  The / in /> closes the link tag, and the > ends up as text content. 
Because text content can't exist in document head, the document body implicitly
starts before >, thus the remaining (correct) errors.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Thursday, 10 November 2011 20:24:38 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:47 UTC