[whatwg] id and xml:id

Anne van Kesteren fora at annevankesteren.nl
Sun Apr 2 09:26:33 PDT 2006

Quoting fantasai <fantasai.lists at inkedblade.net>:
> I'd rather see the id attribute restricted to an NCName token insofar
> as possible. We can make an exception for Hixie's repetition templates,
> but otherwise I think it should be compatible with the XML ID syntax.

I agree. Note also that the repetition template also allows for 
characters that
are compatible with XML ID. Of course, this is only for valid documents... All
things should still be defined in a way that they take into account invalid,
yet well-formed, documents as well. (And HTML documents...)

Anne van Kesteren

More information about the whatwg mailing list