W3C home > Mailing lists > Public > www-html-editor@w3.org > July to September 2003

Re: error in HTML 4.01 DTD

From: Masayasu Ishikawa <mimasa@w3.org>
Date: Mon, 07 Jul 2003 18:04:08 +0900 (JST)
Message-Id: <20030707.180408.41171464.mimasa@w3.org>
To: fherrmann@idegmbh.de
Cc: www-html-editor@w3.org

"Frank Herrmann" <fherrmann@idegmbh.de> wrote:

> The HTML 4.01 DTD listed in the file "loose.dtd" that is part of the HTML
> version of the recommendation differs from the DTD listed in the
> recommendation document. It appears to me as if line 30 contains a syntax
> error:

This is not an error.

> .................
> -->
> <!ENTITY % HTML.Version "-//W3C//DTD HTML 4.01 Transitional//EN"
>   -- Typical usage:
> ................
> 
> The entity declaration is not closed (missing >) and the following comment
> is not started (missing <!--).

SGML allows comments inside markup declarations, such as entity
declaration.  XML does not.

Regards,
-- 
Masayasu Ishikawa / mimasa@w3.org
W3C - World Wide Web Consortium
Received on Monday, 7 July 2003 05:04:10 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 23:39:54 UTC