W3C home > Mailing lists > Public > public-html@w3.org > August 2008

Re: xml:lang in the light of error frequencies

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 12 Aug 2008 22:47:45 +0000 (UTC)
To: Simon Pieters <simonp@opera.com>
Cc: Henri Sivonen <hsivonen@iki.fi>, HTML WG <public-html@w3.org>
Message-ID: <Pine.LNX.4.62.0808122246010.5136@hixie.dreamhostps.com>

On Tue, 12 Aug 2008, Simon Pieters wrote:
> > 
> > We could, if people really want to continue the ridiculous practice of 
> > writing polyglot documents, allow lang="" in HTML documents, thus
> 
> (You mean XHTML documents?)

Yes.

> > providing a conforming way to set the language that is allowed in both 
> > forms. But I'm not a big fan of that either, since we'd also have to 
> > add a requirement that it match xml:lang="" if both were present.
> 
> Doesn't seem like a huge burden for you and Henri. :-) I think this 
> would be a good idea too, FWIW.

I've allowed xml:lang="" in text/html and lang="" XML, but required that 
xml:lang="" in HTML only be used if lang="" is also present, and required 
that if two of these attributes are specified (or if all three are 
specified, in text/html), they have the same value.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 12 August 2008 22:48:24 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:21 GMT