W3C home > Mailing lists > Public > www-validator@w3.org > March 2002

Re: Hyphens in comments

From: Olaf Buddenhagen <olafbuddenhagen@gmx.net>
Date: Fri, 22 Mar 2002 03:12:46 -0500 (EST)
To: www-validator@w3.org
Message-ID: <20020322084807.A358@sky.local.org>

> It is allowed if you are careful and ensure that you use multiples of
> 4 hyphens and only put content in between matched pairs.
> <---- --this is valid-- ---->
> <----this is not---->

Well, I know what is valid in SGML... Only I thought that HTML
implements only a subset of SGML, and not everything valid in SGML is
also valid in HTML...

That's an awkward situation: Either we have to implement full valid SGML
comment parsing, and ignore the fact that it's probably not what the
author intended -- without even the possiblitiy of issuing a warning. Or
else we presumably violate the standard, and possibly complain about
valid HTML :-(


Don't buy away your freedom -- GNU/Linux
Received on Friday, 22 March 2002 03:57:42 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 November 2015 11:01:15 UTC