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

CLDR Ticket #11271(accepted spec)

Opened 5 weeks ago

Last modified 5 weeks ago

Specify terminology for "unit identifiers" in UTS #35

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

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*.

Attachments

Change History

comment:1 Changed 5 weeks 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 5 weeks ago by shane

  • Description modified (diff)

comment:3 Changed 5 weeks 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.

View

Add a comment

Modify Ticket

Action
as accepted
Author


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

 
Note: See TracTickets for help on using tickets.