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

Re: why is Tidy changing my 4.0 code into 3.2?

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Mon, 14 Oct 2002 05:20:27 +0200
To: Terry Teague <terry_teague@users.sourceforge.net>
Cc: html-tidy@w3.org
Message-ID: <3ddb34aa.368913649@smtp.bjoern.hoehrmann.de>

* Terry Teague wrote:
>At 12:05 PM -0400 6/18/02, Malcolm Pateman wrote:
>>I have a simple question re. Tidy (I'm using the Mac BBEdit plugin) ...
>>
>>my code is HTML 4.0, but Tidy makes it into 3.2. Can someone help me?
>>
>>Here is an example:
>>
>><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"
>>   "http://www.w3.org/TR/REC-html40/strict.dtd">
>><HTML>
>><HEAD>
>> <TITLE>Testing 123</TITLE>
>> <META NAME="generator" CONTENT="BBEdit 5.0">
>></HEAD>
>><BODY>
>>blah blah blah
>></BODY>
>></HTML>
>
>I reproduced your issue with the current (18 Jun 02) version of Tidy, but I
>also checked the above sample with a Validator, and sorry but it does NOT
>validate as 4.0 Strict, so Tidy changes the DOCTYPE to match the content :

However, Tidy should resort to HTML 4.01 Transitional, not to HTML 3.2.
Received on Sunday, 13 October 2002 23:20:18 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 23:39:48 UTC