- From: Michel Fortin <michel.fortin@michelf.com>
- Date: Mon, 4 Dec 2006 11:10:18 -0500
Le 4 d?c. 2006 ? 6:10, Mihai Sucan a ?crit : > However, in the same "spirit", a middle way for those who want > XMLiness in HTML, would be to allow the xmlns:?.* attribute, > xml:base, xml:id, and xml:lang. Yet, define them as meaningless. > Just for validation purposes, just for helping people who do such > things on the server-side. I disagree. I think xmlns="http://www.w3.org/1999/html" is fine in HTML because it just states what is already implied. But I think allowing attributes with no meaning to validate will just reenforce the idea that they are meaningful. If you use them, fine, but you'll have a validation error there that will warn you that this is no HTML. I know I suggested xml:lang before, but that was when I thought it was parsed in HTML. Now I think a more clever approach would be to allow html:lang to validate in XHTML, because XHTML already mandates that html:lang be taken into account when determining the language. As for xml:id, why not use "id" purely and simply? It works with both HTML and XHTML anyway. Michel Fortin michel.fortin at michelf.com http://www.michelf.com/
Received on Monday, 4 December 2006 08:10:18 UTC