This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 9415 - Bring the meaning of "a valid BCP 47 language code" in accordance with BCP47
Summary: Bring the meaning of "a valid BCP 47 language code" in accordance with BCP47
Status: RESOLVED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: pre-LC1 HTML5 spec (editor: Ian Hickson) (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: LC
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL: http://dev.w3.org/html5/spec/semantic...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-05 15:32 UTC by Leif Halvard Silli
Modified: 2010-10-04 14:46 UTC (History)
5 users (show)

See Also:


Attachments

Description Leif Halvard Silli 2010-04-05 15:32:39 UTC
The spec draft says:

]]
For meta elements with an http-equiv attribute in the Content Language state, the content attribute must have a value consisting of a valid BCP 47 language code. [BCP47]
[[

In BCP47, "Code" has the following meaning:

]]
  o  "Code" refers to values defined in external standards (and that
      are used as subtags in this document).  For example, 'Hant' is an
      [ISO15924] script code that was used to define the 'Hant' script
      subtag for use in a language tag.  Examples of codes in this
      document are enclosed in single quotes ('en', 'Hant').
[[

BCP47 uses the term "Tag" for a single complete language tag:

   o  "Tag" refers to a complete language tag, such as "sr-Latn-RS" or
      "az-Arab-IR".  Examples of tags in this document are enclosed in
      double-quotes ("en-US").

If I were to mark up the content of a comma separated list of language tags, then I would do this:

<code>sr-Latn-RS, az-Arab-IR</code>

Evidently, it also gives meaning to treat a comma separated list as a code. 

I suggest two things:

A) that the text uses a wording from BCP47 more directly - to avoid confusion about what is meant.
B) that 'language code' is changed into a  comma separated list.  BCP47 knows about different kinds of language lists.
Comment 1 Ian 'Hixie' Hickson 2010-04-13 00:04:06 UTC
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Partially Accepted
Change Description: see diff given below
Rationale: Agreed on A. I've no idea what you mean by B.
Comment 2 contributor 2010-04-13 00:05:28 UTC
Checked in as WHATWG revision r5007.
Check-in comment: sync with BCP47 terminology
http://html5.org/tools/web-apps-tracker?from=5006&to=5007
Comment 3 Leif Halvard Silli 2010-04-13 16:10:11 UTC
Thanks for fixing A). I guess B) is another bug.