W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 2001

Re: DTD file missing from DOCTYPE

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Wed, 10 Oct 2001 18:21:37 +0200
To: "Patrick Lok" <plok@inktomi.com>
Cc: html-tidy@w3.org
Message-ID: <tns8st0jtu0567k4psfjfc2hevj5l8ogk1@4ax.com>
* Patrick Lok wrote:
>I've attached 2 HTML files which produces different results.
>
>Aladdin.html produces no DOCTYPE.

I think this is fine.

>ATimeToKill.html produces <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 
>Final//EN">

The else branch (commented with /* proprietary */) in
lexer.c:SetXHTMLDocType(...) needs to remove the doctype
node from the document.
-- 
Björn Höhrmann { mailto:bjoern@hoehrmann.de } http://www.bjoernsworld.de
am Badedeich 7 } Telefon: +49(0)4667/981028 { http://bjoern.hoehrmann.de
25899 Dagebüll { PGP Pub. KeyID: 0xA4357E78 } http://www.learn.to/quote/
Received on Wednesday, 10 October 2001 12:22:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:46 GMT