-
Notifications
You must be signed in to change notification settings - Fork 269
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
validation of result score #113
Comments
Hi Andrew, Indeed, you've guessed right :) . I'd strongly recommend properly validating them as numbers. I can guarantee "The LRS MUST reject Statements
There's good reason for it, too. The only way the standard is going to A data model standard isn't really a standard if it isn't exact. Sincerely, Russell On Mon, Mar 10, 2014 at 6:33 AM, Andrew Downes notifications@github.comwrote:
|
I stand corrected; we do need to reject those statements. Sent from Samsung Mobile -------- Original message -------- Hi Andrew, Indeed, you've guessed right :) . I'd strongly recommend properly validating them as numbers. I can guarantee "The LRS MUST reject Statements
There's good reason for it, too. The only way the standard is going to A data model standard isn't really a standard if it isn't exact. Sincerely, Russell On Mon, Mar 10, 2014 at 6:33 AM, Andrew Downes notifications@github.comwrote:
|
I'll give you three guesses who made sure that language was in there, and the first two don't count... |
Learninglocker does not accept statements with an empty score raw, score max or score min, but these should be accepted. See #106
Interestingly, it does accept statements where the score values are in quotes. These are rejected by Wax but accepted by Watershed (http://tincanapi.com/public-lrs/). Watershed then returns the statement without quotes. I assume that Wax is technically correct, (I wouldn't expect anything less from @fugu13) but I'd prefer to follow Watershed on this one and accept the statements, correcting the syntax as they come in. Learning Locker currently returns them with quotes, making it incompatible with Wax.
I guess TinCanJS should be validating this, but I also need to update my statement crafter. cc @brianjmiller
The text was updated successfully, but these errors were encountered: