[Bug 14709] lang tag validation is insufficiently specified

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 UTC