Re: XHTML1: Suggested improvements to Appendix C

Hi,

I'll add the 11th item to your list:

11. Colons (:) should not be used in "id" attribute
    because of namespace-validity.


XHTML 1.0 SE Appendix C.8 [1]:

> When defining fragment identifiers to be
> backward-compatible, only strings matching
> the pattern [A-Za-z][A-Za-z0-9:_.-]* should be used.


Namespace in XML errata [2]:

> It follows that in a namespace-valid document
>
> * No attributes with a declared type of ID, IDREF(S),
>   ENTITY(IES) or NOTATION contain any colons.


[1] http://www.w3.org/TR/2002/REC-xhtml1-20020801/#C_8
[2] http://www.w3.org/XML/xml-names-19990114-errata#NE08

Regards,
-- 
Satoshi ISHIKAWA  http://math.oheya.to/markup/

Received on Wednesday, 29 January 2003 01:27:59 UTC