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

Re: Confused about DTD

From: Masayasu Ishikawa <mimasa@w3.org>
Date: Thu, 15 Aug 2002 11:17:32 +0900 (JST)
Message-Id: <20020815.111732.39177927.mimasa@w3.org>
To: eric@tibco.com
Cc: www-html-editor@w3.org

Eric Johnson <eric@tibco.com> wrote:

> I have been looking at the "strict.dtd" file posted with the HTML 4.0.1 
> specification.

I suppose you are referring to HTML 4.01.

> Oddly enough, this DTD file is riddled with syntax 
> errors, according to two different parsers that I have asked, and my 
> reading of the specification.  I looked in the errata and did not see 
> anything to indicate that this was a known problem.  Am I missing something?

It would be helpful if you could be more specific which parsers you
used and what kind of errors they reported.  Typical misunderstanding
is to try to parse HTML DTDs with XML parsers.   HTML DTDs are SGML
DTDs and those are not compatible with XML DTDs, thus those are
guaranteed to fail.

Regards,
-- 
Masayasu Ishikawa / mimasa@w3.org
W3C - World Wide Web Consortium
Received on Wednesday, 14 August 2002 22:17:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:17:42 GMT