[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltru] Canonical variants



Prefixes have never required being "directly after"; and having the prefix is a SHOULD not a must. (This was all discussed some time ago).

Multiple occurrences are invalid: see 2.2.5 "The same variant subtag MUST NOT be used more than once within a language tag."

Variant subtags have different requirements than extlang. Extlangs can occur either 0 or 1 times, no more. see 2.2.2 "Although the ABNF production 'extlang' permits up to three extended language tags in the language tag, extended language subtags MUST NOT include another extended language subtag in their Prefix. That is, the second and third extended language subtag positions in a language tag are permanently reserved and tags that include subtags in that position are invalid.

Mark

On Tue, Jul 15, 2008 at 1:21 PM, Kent Karlsson <kent.karlsson14 at comhem.se> wrote:
Mark Davis wrote:
- put prefix variant subtags before their suffixes (that is, if V1 occurs in a Prefix of V2, V1 should go first) 
Hmm, shouldn't variant subtags that have declared prefixes in the registry that do not come *directly* after one of those prefixes in the tag make the tag invalid? That should be the case also for extlangs, otherwise things like zh-cmn-nan would be valid tags, and I don't think they should be.
 
And for variant subtags that don't have a prefix declared in the registry, multiple occurrences of the *same* variant subtag in a tag should also render the tag invalid.
 
    /kent k
 

_______________________________________________
Ltru mailing list
Ltru at ietf.org
https://www.ietf.org/mailman/listinfo/ltru


_______________________________________________
Ltru mailing list
Ltru at ietf.org
https://www.ietf.org/mailman/listinfo/ltru

Note Well: Messages sent to this mailing list are the opinions of the senders and do not imply endorsement by the IETF.