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: Tue, 09 Oct 2001 02:58:02 +0200
To: "Patrick Lok" <plok@inktomi.com>
Cc: html-tidy@w3.org
Message-ID: <hud4stsku8p5od0cli9hj4lt7soe9ej5ai@4ax.com>
* 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.

>Also, uppercase-tags and uppercase-attributes don't seem to be working, I'm 
>I missing something?

XHTML requires lowercase.
-- 
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 Monday, 8 October 2001 20:59:05 GMT

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