This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
When the valid HTML below is submitted to the inline validator at http://validator.w3.org/check, the following errors are reported. When the '<' character is replaced by '<', no errors are reported. Line 9, Column 22: character "<" is the first character of a delimiter but Error Line 9, Column 22: StartTag: invalid element name <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns='http://www.w3.org/1999/xhtml' lang='en' xml:lang='en'> <head> <title>Bug</title> <meta http-equiv='content-type' content='text/html;charset=UTF-8'/><!-- <meta http-equiv='content-type' content='text/html;charset=ISO-8859-1'/> --> </head> <body> <script type='text/javascript'> for (var i = 0; i < 10; ++i) {} </script> </body> </html>
(In reply to comment #0) > When the '<' character is replaced by '<', no errors are reported. Yes, that's what needs to be done, there's no validator bug here.