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