W3C home > Mailing lists > Public > public-html@w3.org > March 2008

< in the tag name state

From: Henri Sivonen <hsivonen@iki.fi>
Date: Sun, 23 Mar 2008 11:30:30 +0200
Message-Id: <4FD9E395-2C9F-4442-BBE0-DC2AF3F37EB0@iki.fi>
To: HTML WG <public-html@w3.org>

The spec doesn't treat < as special in the tag name state. This is  
inconsistent with Firefox 3, Safari 3.1 and Opera 9.5 (and SGML-based  
HTML 4 validation). I don't have IE to test with. Is it an IEism?

The change that would be compatible with Gecko and WebKit would be  
emitting the current tag token and reconsuming < in the data state.  
(In Opera the stuff starting with < becomes an attribute.)

Test case:
http://virtuelvis.com/download/162/evilml.html
-- 
Henri Sivonen
hsivonen@iki.fi
http://hsivonen.iki.fi/
Received on Sunday, 23 March 2008 09:31:18 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:38:53 UTC