Re: Page Valet error?

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 UTC