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

Re: XHTML+RDFa and @lang

From: Shane McCarron <shane@aptest.com>
Date: Thu, 29 Jan 2009 12:21:04 -0600
Message-ID: <4981F390.5040305@aptest.com>
To: Tina Holmboe <tina@greytower.net>
CC: Dan Brickley <danbri@danbri.org>, "public-rdf-in-xhtml-tf.w3.org" <public-rdf-in-xhtml-tf@w3.org>, XHTML WG <public-xhtml2@w3.org>



Tina Holmboe wrote:
> On 29 Jan, Dan Brickley wrote:
> 
>> Couple of questions -
>>
>> 1. What to say about cases where @lang and @xml:lang have different content?
> 
>   That would be unfortunate. One would hope authors avoided doing
>   something like it.
> 
>   As for how to handle it ... would it not be logical to say that an
>   HTML UA should take the @lang value as authoritative, and an XHTML UA
>   should do the same with @xml:lang?

It would... except that we have no standing to say anything about how an 
HTML UA behaves.  Of course that is how it would behave in the real 
world.  The guidance to content authors is to ensure that these 
attributes are always both declared and both have the same value if the 
document is to be delivered to HTML and XHTML user agents.

I would probably be comfortable adding "When both attributes are present 
on an element, authors SHOULD ensure they have the same value."  Would 
that help?

-- 
Shane P. McCarron                          Phone: +1 763 786-8160 x120
Managing Director                            Fax: +1 763 786-8180
ApTest Minnesota                            Inet: shane@aptest.com
Received on Thursday, 29 January 2009 18:21:46 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 29 January 2009 18:21:46 GMT