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

CLDR Ticket #2757(closed defect: fixed)

Opened 5 years ago

Last modified 4 years ago

draft attribute value when missing is unclear

Reported by: Philip@… Owned by: mark
Component: xxx-spec Version: 1.8
Load: Data Locale:
Phase: Review: pedberg
Weeks: Data Xpath:
Xref:

Description

In UTS #35, Appendix I.3, it says of the "draft" attribute:

Note: A missing draft attribute is not the same as either a true or false value. A missing attribute means instead: inherit the draft status from enclosing elements and parent locales.

However, examining for example, af.xml and looking at the

<units>
  <unit>
    <unitPatter>

nodes, some don't have a "draft" attribute and neither does any parent node (including in any parent or fallback locale) so it's hard to see how such leaf nodes could "inherit the status from enclosing elements and parent locales".

The only way to deal with this when parsing LDML is to assume absence is "draft=approved" which is expressely disallowed by the comment quoted above.

Attachments

Change History

comment:1 Changed 5 years ago by mark

  • Owner changed from somebody to mark
  • Priority changed from assess to medium
  • Status changed from new to assigned
  • Milestone set to 1.8.1

comment:2 Changed 5 years ago by mark

  • Review set to pedberg

Fixed the statement.

Also removed "It can be applied to any element. " for validSubLocales, since it is only allowed on certain elements in the DTD.

comment:3 Changed 5 years ago by pedberg

  • Status changed from assigned to closed
  • Resolution set to fixed
View

Add a comment

Modify Ticket

Action
as closed
The ticket will be disowned. The resolution will be deleted. 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.