[whatwg] id and xml:id

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
<http://annevankesteren.nl/>

Received on Sunday, 2 April 2006 09:26:33 UTC