Re: Updated RDFa Syntax 1.1 draft uploaded

On Thu, 2010-01-14 at 09:44 -0600, Shane McCarron wrote:
> This specification also adds the |lang| attribute to the I18N
> attribute 
> collection as defined in [XHTMLMOD 
> <http://www.w3.org/MarkUp/2010/ED-rdfa-syntax-20100113/references.html#ref_xhtml_modularization>]. 
> The |lang| attribute is defined in [HTML4 
> <http://www.w3.org/MarkUp/2010/ED-rdfa-syntax-20100113/references.html#ref_html4>]. 
> When this attribute and the |xml:lang| attribute are specified on the 
> same element, the |xml:lang| attribute takes precedence. When both 
> |lang| and |xml:lang| are specified on the same element, they SHOULD 
> have the same value. 

That's more or less the same as HTML5's lang/xml:lang handling except
that IIRC HTML5 stipulates that attributes with invalid language codes
must be treated as if they were absent.

-- 
Toby A Inkster
<mailto:mail@tobyinkster.co.uk>
<http://tobyinkster.co.uk>

Received on Thursday, 14 January 2010 18:47:06 UTC