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

CLDR Ticket #9985(design unknown)

Opened 14 months ago

Last modified 5 weeks ago

Remove old code in ShowLanguages

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


ShowLanguages (historic name) writes many of the supplemental data charts. It has old crufty code the predates SupplementalDataInfo, in:

        public LanguageInfo(Factory cldrFactory) throws IOException {
            CLDRFile supp = cldrFactory.make(CLDRFile.SUPPLEMENTAL_NAME, false);
            XPathParts parts = new XPathParts(new UTF16.StringComparator(), null);
            for (Iterator<String> it = supp.iterator(); it.hasNext();) {
                String path = it.next();
                String fullPath = supp.getFullXPath(path);
                if (fullPath == null) {

                // <zoneItem type="America/Adak" territory="US" aliases="America/Atka US/Aleutian"/>
                if (path.indexOf("/zoneItem") >= 0) {

As a part of ticket:9966, some of this was cleaned up, but the file should not be read at all; instead SupplementalDataInfo should be used. Not hard to do, but takes time to make sure that the formatting remains ok.


Change History

comment:1 Changed 5 weeks ago by kristi

  • Owner changed from anybody to mark
  • Status changed from new to design
  • Milestone changed from UNSCH to 34

Add a comment

Modify Ticket

as design

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

Note: See TracTickets for help on using tickets.