Re: Hyphens in comments

Hi,

> 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 :-(

-Olaf-

-- 
Don't buy away your freedom -- GNU/Linux

Received on Friday, 22 March 2002 03:57:42 UTC