- From: Jason White <jason@jasonjgw.net>
- Date: Wed, 1 Aug 2007 12:05:10 +1000
- To: public-html@w3.org
On Wed, Aug 01, 2007 at 09:36:37AM +0900, Karl Dubost wrote: > (here I would add a reference to > http://www.w3.org/TR/xml-id/#id-avn ) A normative reference? Also, for XML compatibility, shouldn't the "author" section of the proposal require that the id satisfy the XML id syntax? How should implementations that read the HTML syntax handle ids that don't meet XML syntax requirements? Two possibilities that occur to me are: 1. Ignore them, as though there is no id attribute. 2. Accept them for purposes of matching corresponding idref values in the document, but when writing out the document (whether in HTML or XHTML 5 syntax) transform each syntactically invalid id to a syntactically valid one in an implementation-defined manner. Maybe the same transformation could be applied before exposing the id as a DOM attribute. This also entails similarly transforming every matching idref.
Received on Wednesday, 1 August 2007 02:05:26 UTC