[whatwg] Reserving "id" attribute values?
Henri Sivonen
hsivonen at iki.fi
Tue May 19 05:43:51 PDT 2009
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/
More information about the whatwg
mailing list