Re: xml:lang in the light of error frequencies

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 UTC