[whatwg] Reserving "id" attribute values?

On May 19, 2009, at 15:14, Brett Zamir wrote:

> However, whichever way one validates, RelaxNG or whatever, XHTML 5  
> (and HTML 5?) will still define it as an ID type, no?


The RELAX NG DTD Compatibility feature isn't all that useful in  
practice, so no, you probably wouldn't make it have IDness on the  
RELAX NG level. (Validator.nu doesn't.)

Even if you do, you can mint a custom RELAX NG datatype that has  
IDness but doesn't have the lexical constraints of DTD ID or XSD ID.

-- 
Henri Sivonen
hsivonen at iki.fi
http://hsivonen.iki.fi/

Received on Tuesday, 19 May 2009 05:43:51 UTC