- From: <bugzilla@wiggum.w3.org>
- Date: Wed, 08 Aug 2007 20:22:22 +0000
- To: www-validator-cvs@w3.org
- CC:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=4923 Summary: Long single-tag comments fail to validate Product: Validator Version: HEAD Platform: PC OS/Version: Windows XP Status: NEW Severity: normal Priority: P2 Component: Parser AssignedTo: dave.null@w3.org ReportedBy: TerryRoddy@Yahoo.com QAContact: www-validator-cvs@w3.org CC: TerryRoddy@Yahoo.com <!----> is accepted as a valid comment, but anything longer is not. Thus, the following throws several errors on the comment-line: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd" > <html> <head> <title>Test</title> </head> <body> <!---------------------------------------------------------> </body> </html> This also holds true if the comment-endpoints are space-delimited: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd" > <html> <head> <title>Test</title> </head> <!-- +----------------------------+------+----------------------------+ --> <!-- |============================| BODY |============================| --> <!-- +----------------------------+------+----------------------------+ --> <body> Hello, World! </body> </html>
Received on Wednesday, 8 August 2007 20:22:26 UTC