W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > July 2007

Re: moving forward!

From: Ivan Herman <ivan@w3.org>
Date: Thu, 26 Jul 2007 09:09:07 +0200
Message-ID: <46A84893.5080000@w3.org>
To: Karl Dubost <karl@w3.org>
Cc: RDFa force <public-rdf-in-xhtml-tf@w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:15:08 GMT