Apparently it is common for SCORM 1.2 Objective IDs to break spec and include spaces
This commit is contained in:
@@ -8,7 +8,7 @@ const scorm12 = {
|
||||
CMIInteger: '^\\d+$',
|
||||
CMISInteger: '^-?([0-9]+)$',
|
||||
CMIDecimal: '^-?([0-9]{0,3})(\.[0-9]*)?$', // eslint-disable-line
|
||||
CMIIdentifier: '^[\\u0021-\\u007E]{0,255}$',
|
||||
CMIIdentifier: '^[\\u0021-\\u007E\\s]{0,255}$',
|
||||
CMIFeedback: '^.{0,255}$', // This must be redefined
|
||||
CMIIndex: '[._](\\d+).',
|
||||
|
||||
|
||||
Reference in New Issue
Block a user