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

Re: Validation Error

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Mon, 26 Sep 2011 10:38:54 +0300
Message-ID: <4E802C0E.40006@cs.tut.fi>
To: Jeb Bunn <zeuded@comcast.net>
CC: www-validator@w3.org
26.9.2011 3:24, Jeb Bunn wrote:

> <! -- This is where you pull user data -->
> My page does not vilidate because of it. Can you suggest a way to format
> my notes so that my code validates?

There should be no space between the "!" and the "-", i.e. you need to write
<!-- This is where you pull user data -->

Technically, the space there is allowed by SGML rules, but not by XML 
rules or by HTML5 rules.

-- 
Yucca, http://www.cs.tut.fi/~jkorpela/
Received on Monday, 26 September 2011 07:39:40 GMT

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