W3C home > Mailing lists > Public > www-amaya@w3.org > April to June 2001

Re: bug or feature?

From: Masayasu Ishikawa <mimasa@w3.org>
Date: Tue, 05 Jun 2001 13:50:58 +0900
To: www-amaya@w3.org
Message-Id: <20010605135058R.mimasa@w3.mag.keio.ac.jp>
Irene Vatton <Irene.Vatton@inrialpes.fr> wrote:

> This is a rule (see http://www.w3.org/TR/html401/struct/text.html#whitespace)

No.  Comment declaration is a markup, but it's neither a start tag nor
an end tag.

> You should write
> <p>An <!--Hello there!-->example</p>
> instead of
> <p>An<!--Hello there!--> example</p>

If you check the ESIS output of nsgmls, you'll see that both examples
are treated as:

  (P
  -An example
  )P

A white space between "An" and "example" MUST be preserved.

Regards,
-- 
Masayasu Ishikawa / mimasa@w3.org
W3C - World Wide Web Consortium
Received on Tuesday, 5 June 2001 00:50:26 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 April 2014 11:01:36 UTC