- From: Anne van Kesteren <annevk@opera.com>
- Date: Tue, 31 Jul 2007 11:16:06 +0200
- To: "Jirka Kosek" <jirka@kosek.cz>
- Cc: "Karl Dubost" <karl@w3.org>, "Ben Boyle" <benjamins.boyle@gmail.com>, "HTML WG" <public-html@w3.org>
On Tue, 31 Jul 2007 11:11:26 +0200, Jirka Kosek <jirka@kosek.cz> wrote: > Anne van Kesteren wrote: > >> Actually, I'm not sure XML handles cases like (what's the language of A >> and what's the language of B?): >> >> <div lang="foo"> > > From XML point of view there is no language specified. Which would not be backwards compatible... > [...] > > May be evil idea, but since during DOM construction all elements are put > into XHTML namespace what about moving lang -> xml:lang (if there is no > xml:lang already) for HTML serialization and forbidding lang in XML > serialization? Yeah, this was suggested on whatwg@whatwg.org also. From my recollection implementors were not willing to do it as its not backwards compatible and could break stuff. -- Anne van Kesteren <http://annevankesteren.nl/> <http://www.opera.com/>
Received on Tuesday, 31 July 2007 09:16:12 UTC