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

CLDR Ticket #5446(accepted tools)

Opened 6 years ago

Last modified 3 years ago

MapComparator should be synchronized with Supplemental Metadata

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



#5434 was due to MapComparator not handling values "0" and "1"

Why doesn't MapComparator use values from supplemental metadata? Duplication will cause hidden defects.

For instance, CLDRFile.dateFieldOrder seems to be a copy of:
<attributeValues elements="field" attributes="type" order="given">era year month week day weekday dayperiod hour minute second zone</attributeValues>

I think the supplemental metadata is typically under-utilized.

Furthermore, the value in question, countValueOrder, isn't actually in supplementalmetadata ( zero, one, two, few, many, other ). Should it be?


Change History

comment:1 Changed 6 years ago by srl

  • Xref set to 5434

comment:2 Changed 6 years ago by mark

One thought I've had is to rework the ordering by driving it mainly off of the DTD. Example:

<!ELEMENT monthWidth ( alias | (month*, special*)) >
<!ATTLIST monthWidth type ( abbreviated| narrow | wide) #REQUIRED >
<!ATTLIST monthWidth draft ( approved | contributed | provisional | unconfirmed | true | false ) #IMPLIED > <!-- true and false are deprecated. -->

We'd order the type=... then draft=...
Within the type we'd get the ordering abbreviated| narrow | wide ordering.

comment:3 Changed 5 years ago by mark

  • Owner changed from anybody to mark
  • Priority changed from assess to medium
  • Status changed from new to assigned
  • Component changed from unknown to tools
  • Type changed from unknown to enhancement

comment:4 Changed 3 years ago by markus

  • Type changed from enhancement to tools
  • Component changed from tools to unknown

comment:5 Changed 3 years ago by srl

  • Status changed from assigned to accepted

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.