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

CLDR Ticket #8017(accepted dtd)

Opened 3 years ago

Last modified 3 years ago

Minor bug in LDML dtd for delimiters

Reported by: martin Owned by: srl
Component: main Data Locale:
Phase: rc Review:
Weeks: Data Xpath:


Query from Martin Hosken:
<!ELEMENT delimiters (alias | (quotationStart*, quotationEnd*, alternateQuotationStart*, alternateQuotationEnd*, special*)) >

Why would you want more than one quotationStart element in the delimiters? Should the * be replaced with ? all through there (apart from special)?


Change History

comment:1 Changed 3 years ago by martin_hosken@…

I noticed quite a few more that should be reviewed (I'm not sure they are all at fault):

<!ELEMENT layout
<!ELEMENT orientation
<!ELEMENT indexLabels
<!ELEMENT numbers
<!ELEMENT symbols

Some areas I would look carefully at are Number Patterns, Currencies.

If I understand correctly, one of the criteria for deciding whether an element may occur multiple times is whether there is an identifying attribute defined for that element. If the element has no attributes then the only way to handle multiple of them is to use their relative ordering and that means the elements cannot merge and a parent of that element must be a blocking element.

Here's another type of problem:

<!ELEMENT monthContext ( alias | (default*, monthWidth*, special*)) >
<!ATTLIST monthWidth type ( abbreviated| narrow | wide) #REQUIRED >

I can't imagine wanting more than one default. But monthWidth has a type attribute and takes a default, so I assume there are multiple of them. So here only the default* needs to change to default?

Looks like one typo leads to a complete DTD/RNG review. Sorry about that.

comment:2 Changed 3 years ago by mark

  • Owner changed from anybody to srl
  • Phase changed from dsub to rc
  • Priority changed from assess to medium
  • Status changed from new to assigned
  • Milestone changed from UNSCH to 27

They are * because there can be alt versions.

Do you want to suggest a place in the spec to make this clearer?

comment:3 Changed 3 years ago by srl

  • Milestone changed from 27 to 28


comment:4 Changed 3 years ago by markus

  • Type set to dtd
  • Component changed from dtd to unknown

comment:5 Changed 3 years ago by srl

  • Status changed from assigned to accepted

comment:6 Changed 3 years ago by emmons

  • Component changed from unknown to main

comment:7 Changed 3 years ago by emmons

  • Milestone changed from 28 to 28roll

Moving all outstanding 28 tickets to 28roll. We will discuss disposition of these at the next CLDR TC.


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.