Re: Against (current) test 48 (document's language)

Yes! :-)

The XQuery rule is //html[not(@xml:lang)] (for XHTML Basic)
and
//html[not(@xml:lang) and not(@lang)] (for other XHTML versions)

Thanks.

Vicente Luque Centeno
Dep. Ingeniería Telemática
Universidad Carlos III de Madrid
http://www.it.uc3m.es/vlc

On Mon, 8 Aug 2005, Chris Ridpath wrote:

> Vicente,
>
>> The test does not consider that XHTML Basic 1.0
>> documents can't use lang
>> attributes (only xml:lang attributes are allowed).
>> 
>
> Thanks for pointing that out. The test has passed through many eyes without 
> anyone noticing that we omitted XHTML Basic 1.0.
>
> It looks like the test should be modified to include another point:
>
> - If the content is XHTML Basic 1.0 then check the content of the html 
> element's xml:lang attribute.
>
> Otherwise I think the test is valid and should be kept.
>
> Does that look OK to you?
>
> Chris
>
>
> ----- Original Message ----- From: "Vicente Luque Centeno" <vlc@it.uc3m.es>
> To: "Chris Ridpath" <chris.ridpath@utoronto.ca>
> Cc: <public-wai-ert@w3.org>
> Sent: Saturday, August 06, 2005 6:32 PM
> Subject: Against (current) test 48 (document's language)
>
>
>
> Hi,
>
> I don't agree with the current (as written) test 48 at
> http://www.w3.org/WAI/GL/WCAG20/tests/test48.html (Content has required
> lang attribute(s).).
>
> The test does not consider that XHTML Basic 1.0 documents can't use lang
> attributes (only xml:lang attributes are allowed).
>
> As a result, the test at
> http://checker.atrc.utoronto.ca/servlet/resolve?file=http%3A%2F%2Fwww.it.uc3m.es%2Fvlc%2Findex.html&group=3.1+meaning&type=known&guide=wcag-2-0-aa.xml&lang=eng
> returns a false barrier (xml:lang is enough).
>
> Comments?
>
> Vicente Luque Centeno
> Dep. Ingeniería Telemática
> Universidad Carlos III de Madrid
> http://www.it.uc3m.es/vlc
>

Received on Monday, 8 August 2005 13:29:23 UTC