xAPI-Spec icon indicating copy to clipboard operation
xAPI-Spec copied to clipboard

subtag, not token

Open garemoko opened this issue 8 years ago • 1 comments

https://github.com/adlnet/xAPI-Spec/blob/master/xAPI-Data.md#22-formatting-requirements

The LRS MUST at least validate that the sequence of token lengths for language map keys matches the RFC 5646 standard.

RFC 5646 uses the word subtag, not token.

We should also consider linking specifically to section 2.1 of RFC 5646 which sets out the lengths of different types of subtag. The counter argument is that the sequence of different types of subtag are defined all over the place.

Proposed new wording:

The LRS MUST at least validate that the sequence and length of subtags used in language map keys conforms to RFC 5646.

garemoko avatar Dec 27 '16 18:12 garemoko

+1

andyjohnson avatar Jan 04 '17 17:01 andyjohnson