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

CLDR Ticket #6563(closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

Fix lingering references to old <fields> location

Reported by: pedberg Owned by: pedberg
Component: xxx-tools Data Locale:
Phase: Review: emmons
Weeks: Data Xpath:


The <fields> element was moved from

  • ldml/dates/calendars/calendar[type=*]/fields/


  • ldml/dates/fields/

but many references/usages were not updated to reflect this:

  1. tools/java/org/unicode/cldr/test/IdToPath.java, all 27 references at the old location, e.g.:
  2. tools/java/org/unicode/cldr/unittest/data/xmb/en.xml, all 27 references (just comments) at the old location
  3. tools/java/org/unicode/cldr/unittest/TestCoverageLevel.txt, the only reference is to the old location:
    ^//ldml/dates/calendars/calendar\[@type=".*"]/fields/field\[@type=".*"]/relative\[@type="([-]?[23])"] ; 80
  4. tools/java/org/unicode/cldr/util/data/paths/missingOk.txt, the only reference is to the old location:
    //ldml/dates/calendars/calendar[@type="%A"]/fields/field[@type="day"]/relative[@type="-?2"]; ok
  5. tools/java/org/unicode/cldr/util/DateTimeFormats.java, set still uses the old path for unit display names, but RelativePattern uses the new path for relative units.
  6. The spec table at http://www.unicode.org/reports/tr35/tr35-general.html#Context_Transform_Elements gives the old path


Change History

comment:1 Changed 5 years ago by emmons

  • Owner changed from anybody to pedberg
  • Priority changed from assess to medium
  • Status changed from new to assigned
  • Milestone changed from UNSCH to 24final

comment:2 Changed 5 years ago by pedberg

  • Cc mark, srl added
  • Status changed from assigned to accepted
  • Review set to emmons

My only question at this point is: In tools/java/org/unicode/cldr/test/IdToPath.java, do we need to keep the old entries around for backward compatibility (I have at least added comments indicating they are deprecated), or can we just delete them entirely? I am not sure how IdToPath is used (it is invoked by ConvertXTB and GenerateXMB, but I am not sure what *those* are used for).

comment:3 Changed 5 years ago by emmons

  • Status changed from accepted 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.