W3C home > Mailing lists > Public > www-validator@w3.org > February 2001

Re: Page Valet error?

From: Terje Bless <link@tss.no>
Date: Mon, 5 Feb 2001 14:46:24 +0100
To: Nick Kew <nick@webthing.com>
cc: "John A. Grant" <jagrant@gsc.nrcan.gc.ca>, www-validator@w3.org
Message-ID: <20010205150042-r01010600-69fe571e@10.0.0.2>
On 05.02.01 at 12:26, Nick Kew <nick@webthing.com> wrote:

>On Mon, 5 Feb 2001, John A. Grant wrote:
>
>> Line 13, character 15: 
>> <meta name="last_modified" content="20000301"> 
>> Error: character _ is not allowed in the value of attribute NAME
>
>My best stab at this is as follows: [...]
>  2.   The HTML 4 DTDs declare NAME as being of type LanguageCode.
>   I don't know why - that's just how it is.

The "name" attribute to the "META" element is defined as a SGML "NAME"
token and is normatively described in prose as:

# ID and NAME tokens must begin with a letter ([A-Za-z]) and may be
# followed by any number of letters, digits ([0-9]), hyphens ("-"),
# underscores ("_"), colons (":"), and periods (".").

[ HTML 4.01 Specification, 6.2 SGML basic types, PDF ]

This, BTW, is new as of HTML 4.01 IIRC; HTML 4.0 defined the "name"
attribute differently, but I haven't checked exactly how.
Received on Monday, 5 February 2001 09:00:55 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:13:55 GMT