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 00:09:50 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1RNZGA-0005FR-Pv@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=14709

--- Comment #15 from Glenn Adams <glenn@skynav.com> 2011-11-08 00:09:46 UTC ---
(In reply to comment #14)
> (In reply to comment #12)
> 
> > 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>
> 
> I don't understand what you mean by "semantically valid". Do you have an
> example of a language tag that  is syntactically valid but not semantically
> valid?

all off the following are valid syntactically (i.e., adhere to BCP47 language
tag syntax), however, 5 are semantically invalid (violate other, non-syntactic
constraints defined by BCP47)

en valid - is in 639-1, and is shortest
eng invalid - is in 639-2, but violates shortest representation rule
my valid - is in 639-1, and is shortest
mya invalid - is in 639-2, but violates shortest representation rule
brm invalid - is not in 639-2, is not registered
abcd invalid - is reserved for future use

-- 
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 00:09:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 November 2011 00:10:00 GMT