adlnet / lrs-conformance-test-suite

A NodeJS project that tests the MUST requirements of the xAPI Spec and is based on the ADL testing requirements repository. The test suite website can be found here: https://lrstest.adlnet.gov/. The adopters website can be found here: https://adopters.adlnet.gov/
https://adlnet.gov/projects/xapi/
MIT License
67 stars 42 forks source link

V2.0 `revision` and other properties of Statement's Context #278

Open raif-s-naffah opened 1 month ago

raif-s-naffah commented 1 month ago

hi there,

few checks related to the above and likely generated by the tests in context.js (lines 258..) try to assert...

A Statement cannot contain both a "revision" property in its "context" property and have the value of the "object" property\'s "objectType" be anything but "Activity"

as far as i can see nothing in the text of the specs here state those requirements or imply them. the only requirement for the optional revision property seems to be given in the 4.2.2.5 Context table:

Revision of the learning activity associated with this Statement. Format is free.

may be this was a requirement for an earlier/different version?

would appreciate it if somebody can point me to the text in version 2.0.0 of the standard, to those requirements if they do exist.

thanks in anticipation + cheers; rsn

raif-s-naffah commented 1 month ago

same comments and question re. the platform and may be other properties.