added support to hyphen and tilde in CMIIdentifier
This commit is contained in:
@@ -24,7 +24,7 @@ function SCORMapi1_2() {
|
||||
CMIInteger = '^\\d+$';
|
||||
CMISInteger = '^-?([0-9]+)$';
|
||||
CMIDecimal = '^-?([0-9]{0,3})(\.[0-9]{1,2})?$';
|
||||
CMIIdentifier = '^\\w{1,255}$';
|
||||
CMIIdentifier = '^\\w[\\w|\-|\~]{1,255}$';
|
||||
CMIFeedback = CMIString256; // This must be redefined
|
||||
CMIIndex = '[._](\\d+).';
|
||||
// Vocabulary Data Type Definition
|
||||
|
||||
Reference in New Issue
Block a user