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

Re: DTD file missing from DOCTYPE

From: Patrick Lok <plok@inktomi.com>
Date: Tue, 09 Oct 2001 13:40:28 -0700
Message-Id: <5.0.2.1.2.20011009133619.03b3ccd0@inkt-3.inktomi.com>
To: Bjoern Hoehrmann <derhoermi@gmx.net>
Cc: html-tidy@w3.org
At 02:58 AM 10/9/01 +0200, Bjoern Hoehrmann wrote:
>* Patrick Lok wrote:
> >I found that the DOCTYPE created by the latest tidy is not the same as the
> >one created by the 04aug00 version.
> >
> >When I turn on "output-xhtml" and set "doctype" to auto the latest tidy
> >gives me
> >
> ><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
> >
> >where the 04aug00 version gives me
> >
> ><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> >     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
>
>I am not able to reproduce this behaivour, please send a small example.
>
> >Although the HTML code might actually be 3.2, since I turned on
> >"output-xhtml", shouldn't the DOCTYPE be a XHTML DOCTYPE instead?
>
>Yes.

I've attached 2 HTML files which produces different results.

Aladdin.html produces no DOCTYPE.

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

Tidy.cfg is the config file I used.

I downloaded the source code on Oct 2nd.

Thanks,
Patrick


Received on Tuesday, 9 October 2001 16:42:18 GMT

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