Re: moving forward!

Thanks Karl, I looked for something like that.

Ivan

Karl Dubost wrote:
> 
> Le 24 juil. 2007 à 02:11, Ivan Herman a écrit :
>> - if only xml:lang is there it is treated as @lang
>> - if both @xml:lang and @lang are there with equal values, then guess
>> what happens:-)
>> - if both @xml:lang and @lang are there with different values, this is
>> actually a bug; but I guess XHTML does say about which one has a
>> priority for this, and we should simply adopt that
> 
> http://www.w3.org/html/wg/html5/#the-lang
> HTML 5
>     html serialization: only use lang
>     xml  serialization: only use xml:lang
> 
>     "If both the xml:lang attribute and the lang
>     attribute are set on an element, user agents
>     must use the xml:lang attribute, and the lang
>     attribute must be ignored for the purposes of
>     determining the element's language."
> 
> To find the language used for an element content, use the closest ancestor.
> 
> 
> 

-- 

Ivan Herman, W3C Semantic Web Activity Lead
Home: http://www.w3.org/People/Ivan/
PGP Key: http://www.ivan-herman.net/pgpkey.html
FOAF: http://www.ivan-herman.net/foaf.rdf

Received on Thursday, 26 July 2007 07:09:08 UTC