Skip to:
Inhttp://unicode.org/reports/tr35/#LocaleId_Canonicalization5. Canonicalizing Syntax....Remove any type or tfield value of "true"
But if the true of tvalue got removed, the tfield is not longer valid becausetransformed_extensions = sep [tT] ((sep tlang (sep tfield)*) | (sep tfield)+) ;
tfield = tkey tvalue; validitytkey = alpha digit ;tvalue = (sep alphanum{3,8})+ ;
so we should either1) change Remove any type or tfield value of "true"toRemove any type value of "true"2) change the definition of tfield
Mark- please take a look at this.
This overlapped with CLDR-14320, so combining them.
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.
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.