Should not remove "true" of tfield in UTS35 Appendix A

Description

In
http://unicode.org/reports/tr35/#LocaleId_Canonicalization
5. Canonicalizing Syntax
....
Remove any type or tfield value of "true"

But if the true of tvalue got removed, the tfield is not longer valid because
transformed_extensions = sep [tT] ((sep tlang (sep tfield)*) | (sep tfield)+) ;

tfield = tkey tvalue; validity
tkey = alpha digit ;
tvalue = (sep alphanum{3,8})+ ;

so we should either
1) change
Remove any type or tfield value of "true"
to
Remove any type value of "true"
2) change the definition of tfield

Mark- please take a look at this.

Activity

Show:

Mark Davis 
March 22, 2021 at 1:15 AM

This overlapped with CLDR-14320, so combining them.

Mark Davis 
December 15, 2020 at 6:29 PM

A related issue to fix:

http://unicode.org/reports/tr35/#Key_And_Type_Definitions_

We should say:

OLD

If the type is not included, then the type value "true" is assumed. 

NEW

If the type is not included, then the type value "true" is assumed, if it is valid for that key.

Secondly, we should clearly distinguish unicode_locale_id syntactic validity (well-formed) from semantically valid (valid).

We should make it clearer how to test to for semantic validity, probably in a new section.

Duplicate

Details

Components

Priority

Fix versions

Assignee

Reporter

Created November 24, 2020 at 12:46 AM
Updated April 4, 2023 at 12:57 AM
Resolved March 22, 2021 at 1:15 AM