- From: David Carlisle <davidc@nag.co.uk>
- Date: Tue, 04 Feb 2014 16:28:17 +0000
- To: Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>
- CC: "public-html@w3.org" <public-html@w3.org>
On 04/02/2014 16:03, Leif Halvard Silli wrote: > Jirka Kosek, Tue, 04 Feb 2014 15:26:28 +0100: >> On 4.2.2014 13:29, Leif Halvard Silli wrote: >>> I don’t follow this logic. For instance, DOCTYPE and DTD is >>> already specified. But that does not prevent us from coming up >>> with new DTDs - and add them to various new specs. I think it is >>> useful to have a document that explains ”the ways to Rome”. >> >> No one reasonable is going to come up with new DTDs -- DTDs are >> dead. > > I did not mean to imply anything about the utility of DTDs. I only > meant to derive some logics from how DTDs have been used in various > spec. > > A clearer example of what I meant is that HTML5 defines how to use > xml:lang="foo". Why, when how to use xml:lang="" was defined in XML? > Simply because there are some things to say about how it should be > used, when or if authors want/need to use it. No HTML5 has to say something about xml:lang as the XML definition isn't that relevant, the syntax xml:lang="foo" is defined by html to make an attribute with local name "xml:lang" and defined behaviour: > The attribute in no namespace with no prefix and with the literal > localname "xml:lang" has no effect on language processing. The main aspect of the HTML5 definition of xml:lang (in text/html) is that it is valid but ignored so long as it is used on an element with a lang attribute with the same value. > > The same way, it is not enough, in my view, to just start littering > HTML document with xml:id=*. As specified that simply makes documents invalid, and it's best to leave it that way, ie not have an extension specification that makes it valid. > One should be aware of what one is doing. Not least should one know > that there is actually defined a better way, which we are waiting for > the implementations of. And thank you very much for helping me to see > how HTML5 intends ID assignment to function - I will put that in the > spec proposal! > David
Received on Tuesday, 4 February 2014 16:28:55 UTC