- From: Patrick Lok <plok@inktomi.com>
- Date: Tue, 09 Oct 2001 13:40:28 -0700
- To: Bjoern Hoehrmann <derhoermi@gmx.net>
- Cc: html-tidy@w3.org
- Message-Id: <5.0.2.1.2.20011009133619.03b3ccd0@inkt-3.inktomi.com>
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
Attachments
- text/html attachment: Aladdin.html
- text/html attachment: ATimeToKill.html
- application/octet-stream attachment: tidy.cfg
Received on Tuesday, 9 October 2001 16:42:18 UTC