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 02:19:34 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1RNbHi-0002eP-Ig@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=14709

--- Comment #19 from Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no> 2011-11-08 02:19:33 UTC ---
(In reply to comment #17)
> (In reply to comment #12)

> > <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.

I agree  that "syntactically and semantically" do not add anything, but ...

> 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.

... it sounds as if you only have considered valid (that is: registered)
primary language subtags. See comment #18. Do you want the entire language tag
to be thrown away if it contain a single subtag that is invalid?

-- 
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 02:19:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 November 2011 02:19:42 GMT