NAME and ID attribute types content model

Hello,

If i am not mistaken, the HTML 4.0 and following versions define the ID and NAME attributes content type as CDATA with some limitations:

<< For some HTML 4.0 attributes with CDATA attribute values, the specification imposes further constraints on the set of legal values for the attribute that may not be expressed by the DTD. 

[...]

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 ("."). >>
[excerpt from: http://www.w3.org/TR/1998/REC-html40-19980424/types.html#type-cdata]

Assuming this is right, there is an error with the validating service which doesn't trigger on an attribute with "1234" as content.

Thanks,


-------------------------------------------------------------------------------------
Christian Rémillard
christian.remillard@umontreal.ca
Chargé de recherche
École de bibliothéconomie et des sciences de l'information
Université de Montréal

Pavillon Lionel-Groulx, local C-2042
Téléphone  : +1 514 343-6111 poste 1743
Télécopieur: +1 514 343-5753

Received on Tuesday, 18 December 2001 20:50:51 UTC