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

CLDR Ticket #9099(accepted tools)

Opened 3 years ago

Last modified 15 months ago

Change XMLSource to avoid hard-coded lists

Reported by: mark Owned by: emmons
Component: util Data Locale:
Phase: dsub Review:
Weeks: Data Xpath:




We have some hard-coded lists in XMLSource. This is fragile, and should be fixed.

private static final String[] keyDisplayNames = {



private static final String[][] typeDisplayNames = {

{ "account", "cf" },

We should either

a) write a test to verify that these include all and only the relevant BCP47 values,
b) change the code to use the BCP47 codes

In either case, the BCP47 codes can be gotten using the SupplementalDataInfo.


Change History

comment:1 Changed 3 years ago by pedberg

  • Status changed from new to accepted
  • Component changed from unknown to util
  • Priority changed from assess to major
  • Milestone changed from UNSCH to 29
  • Owner changed from anybody to emmons
  • Type changed from unknown to tools

comment:2 Changed 2 years ago by emmons

  • Milestone changed from 29 to upcoming

comment:3 Changed 2 years ago by srl

  • Xref set to 9410 7194

see xref for more sites

comment:4 Changed 15 months ago by emmons

  • Milestone changed from upcoming to UNSCH

Add a comment

Modify Ticket

as accepted

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

Note: See TracTickets for help on using tickets.