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

CLDR Ticket #5836(closed enhancement: fixed)

Opened 5 years ago

Last modified 5 years ago

Document that count= attributes have special inheritance

Reported by: mark Owned by: mark
Component: xxx-spec Data Locale:
Phase: Review: pedberg
Weeks: Data Xpath:


We don't document in http://www.unicode.org/reports/tr35/ that the count= attributes have special aliasing. They act as if there were root aliases for all of them.

In particular, if there is no value for a path, and it has a [@count="x"] attribute and value, then:

  1. If "x" is anything but "other", it maps to [@count="other"]
    • So ldml/foo[@count="one"] would map to ldml/foo[@count="other"].
  2. In the special case of currencies, if the count="other" value is missing, it maps to the path that is completely missing the count item.
    • So ldml/foo[@count="other"] would map to ldml/foo.

We hadn't added all those aliases to root because it would be a huge number (and growing, as we add units). Note: it would be possible to generalize #2 to all cases, because it would only apply to currencies.


Change History

comment:1 Changed 5 years ago by emmons

  • Status changed from new to assigned
  • Component changed from unknown to spec
  • Priority changed from assess to minor
  • Milestone changed from UNSCH to 24
  • Owner changed from anybody to mark
  • Type changed from unknown to enhancement

comment:2 Changed 5 years ago by mark

  • Review set to pedberg

comment:3 Changed 5 years ago by pedberg

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

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.