Re: On ampersands.

"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 UTC