Re: DTD file missing from DOCTYPE

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 UTC