adlnet / xAPI-Spec

The xAPI Specification describes communication about learner activity and experiences between technologies.
https://adlnet.gov/projects/xapi/
901 stars 405 forks source link

subtag, not token #1018

Open garemoko opened 7 years ago

garemoko commented 7 years ago

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.

andyjohnson commented 7 years ago

+1