W3C home > Mailing lists > Public > www-validator@w3.org > July 2000

Re: On ampersands.

From: Masayasu Ishikawa <mimasa@w3.org>
Date: Fri, 07 Jul 2000 02:48:53 +0900
To: www-validator@w3.org
Message-Id: <20000707024853W.mimasa@w3.mag.keio.ac.jp>
"Shane P. McCarron" <shane@aptest.com> wrote:

> This is not an HTML 4.01 issue - it is an SGML issue.  And SGML requires
> that entities be terminated with a semi-colon.

No.  Production 61 of ISO 8879:1986 (e.g. see [Prod61]) defines:

    reference end = ( refc | RE )?

      Note: refc = ";", RE = Carriage Return (decimal 13)

So it is omittable in certain cases.  For handy explanation, you may
also look at "3.2.1. Data Characters" of HTML 2.0 spec [HTML20].

[Prod61] http://www.w3.org/MarkUp/SGML/productions.html#prod61
[HTML20] http://www.w3.org/MarkUp/html-spec/html-spec_3.html#SEC3.2.1

Regards,
-- 
Masayasu Ishikawa / mimasa@w3.org
W3C - World Wide Web Consortium
Received on Thursday, 6 July 2000 13:48:57 GMT

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