Re: error in HTML 4.01 DTD

"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