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: Mon, 07 Nov 2011 18:48:37 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1RNUFJ-0006Ks-Dk@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=14709

--- Comment #11 from L. David Baron <dbaron@dbaron.org> 2011-11-07 18:48:36 UTC ---
I think the issue is that this text (quoted in comment 0):

  If the resulting value is not a recognized language tag, then
  it must be treated as an unknown language having the given
  language tag, distinct from all other languages. For the
  purposes of round-tripping or communicating with other services
  that expect language tags, user agents should pass unknown
  language tags through unmodified.

has a "must" statement and a "should" statement that contradict each other.  If
the user agent passes the unknown language tag through unmodified (following
the "should" in the second sentence) to a system that uses a different language
tag mechanism, then that's effectively not treating the language tag as unknown
(violating the "must" in the first sentence) and implicitly allowing this
alternative language tagging mechanism to be used in HTML in contexts where it
will be passed through to, say, OpenType's different language tagging
mechanism.

-- 
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 Monday, 7 November 2011 18:48:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 November 2011 18:48:39 GMT