W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > November 2011

[Bug 14709] lang tag validation is insufficiently specified

From: <bugzilla@jessica.w3.org>
Date: Tue, 08 Nov 2011 01:47:39 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1RNamp-0001PL-Sh@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=14709

--- Comment #17 from John Daggett <jdaggett@mozilla.com> 2011-11-08 01:47:39 UTC ---
(In reply to comment #12)

> Good point. And, in this light, the "fuzziness" John mentions becomes apparent.
> Both "recognized" and "unknown" are not properly scoped. And I see how this
> language could be read as sanctioning another class of language tag formats.
> 
> Perhaps the above cited text should be rewritten as:
> 
> <blockquote>
> If the resulting value is non-empty and is not a (syntactically and
> semantically)
> valid BCP47 language tag, then the attribute must be ignored for the
> purpose of determining the element's language.
> </blockquote>
> 
> And the screen reader example removed.

I think this wording makes sense but I think you can omit the "syntactically
and semantically", I think "valid BCP47 language tag" is clear enough.

For implementations the key distinction is whether validation means that
unknown values are nulled out or passed through to API's that use language tags
of one format or another.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Tuesday, 8 November 2011 01:47:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 November 2011 01:47:46 GMT