W3C home > Mailing lists > Public > www-amaya@w3.org > October to December 2002

Re: parse error for valid language tag for script element

From: Brian Campbell <bacam+am@z273.org.uk>
Date: Mon, 2 Dec 2002 12:14:32 +0000
To: www-amaya@w3.org
Message-ID: <20021202121432.GA742@z273.org.uk>

On Mon, Dec 02, 2002 at 10:26:14AM +0100, Vincent Quint wrote:
> 
> I think Amaya is right. Attribute language is not allowed on element script
> in HTML 4.01, according to the DTD:
> 
>    http://www.w3.org/TR/html401/sgml/dtd.html
> 
> The HTML 4.01 specification clearly states that this attribute has been
> deprecated in favor of type:
> 
>    http://www.w3.org/TR/html401/interact/scripts.html#adef-language

The document in question claims to be HTML 4.01 Transitional, not
Strict.  The Transitional DTD allows the deprecated language attribute.

-- 
Brian
Received on Monday, 2 December 2002 07:16:18 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 April 2014 11:01:38 UTC