[Unicode]   Common Locale Data Repository : Bug Tracking Home | Site Map | Search

CLDR Ticket #11271(closed: fixed)

Opened 8 months ago

Last modified 6 months ago

Specify terminology for "unit identifiers" in UTS #35

Reported by: shane Owned by: mark
Component: units Data Locale:
Phase: spec-beta Review: shane
Weeks: Data Xpath:

Description (last modified by shane) (diff)

UTS #35 defines the syntax for identifiers used to specify measurement units; for example, "length-meter" and "angle-degree". However, the spec does not offer a precise term to use to refer to those identifiers.

Mark suggests the term "unit identifier". This would allow APIs and other users to write sentences such as,

This function accepts a unit identifier, as defined by Unicode Technical Standard #35, Part 2, Section 6.

Additionally, the exact syntax for a unit identifier is not written precisely. I expect the following to be true and to be specifically listed:

  • The *type* consists of one or more lowercase ASCII letters: [a-z]+
  • The *unit* consists of one or more lowercase ASCII letters and optionally hyphens in the middle: [a-z]+(\-[a-z]+)*
  • A string containing a *type* followed by a hyphen followed by a *unit* is known as a *unit identifier*.


Change History

comment:1 Changed 8 months ago by shane

Note: currently this is required for (1) ICU number skeleton strings and (2) the ECMA 402 standard for measurement unit formatting that I am drafting.

comment:2 Changed 8 months ago by shane

  • Description modified (diff)

comment:3 Changed 8 months ago by mark

  • Owner changed from anybody to mark
  • Phase changed from dsub to spec-beta
  • Priority changed from assess to major
  • Status changed from new to accepted
  • Milestone changed from UNSCH to 34

Committee agreed to change.

comment:4 Changed 6 months ago by mark

  • Status changed from accepted to reviewing
  • Review set to shane

comment:5 Changed 6 months ago by shane

  • Status changed from reviewing to closed
  • Resolution set to fixed

LGTM; Thanks!


Add a comment

Modify Ticket

as closed
Next status will be 'new'
Next status will be 'closed'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.