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

CLDR Ticket #8415(closed: duplicate)

Opened 4 years ago

Last modified 4 years ago

Add more DTD annotations for checking attribute values

Reported by: mark Owned by: mark
Component: other Data Locale:
Phase: rc Review:
Weeks: Data Xpath:
Xref:

ticket:7368

Description

Where feasible, it is much cleaner to add data to the DTD for allowed attribute values.

We deliberately left many items open-ended, to allow 3rd parties to add attribute values and not have to muck with the DTD. For example:

<!ATTLIST quarterContext alt NMTOKENS #IMPLIED >

That means that we have to have a separate test. However, we can do that test using data from the same kind of annotations we have now in the DTD, which is much cleaner, and don't affect 3rd parties. For example, we can add:

<!--@VALUES:variant short -->

We can have the values be much tighter; those that we actually use in our data.

This wouldn't replace all of the <attributeValues ...> elements (see ticket:7368), but can replace all of the simple enumerations.

Attachments

Change History

comment:1 Changed 4 years ago by emmons

  • Status changed from new to accepted
  • Component changed from unknown to other
  • Phase changed from dsub to rc
  • Milestone changed from UNSCH to 28
  • Owner changed from anybody to mark
  • type changed from unknown to dtd

comment:2 Changed 4 years ago by mark

  • Status changed from accepted to closed
  • Resolution set to duplicate

This is moot with the attribute value validity tests. As it turns out, the information is complex enough that we probably don't want it in the DTD.

View

Add a comment

Modify Ticket

Action
as closed
Next status will be 'new'
Next status will be 'closed'
Author


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

 
Note: See TracTickets for help on using tickets.