Browse files

SCORM MDL-23119 allowing extra characters in CMIIdentifier - this is …

…outside the ADL Spec but it seems to be ok to extend this and allow more characters than is specified by ADL
  • Loading branch information...
1 parent 6655d80 commit ab911906a2a12b7d7b2135ea06018e53d1e60516 @danmarsden danmarsden committed Jul 10, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/scorm/datamodels/scorm_12.js.php
View
2 mod/scorm/datamodels/scorm_12.js.php
@@ -25,7 +25,7 @@ function SCORMapi1_2() {
CMIInteger = '^\\d+$';
CMISInteger = '^-?([0-9]+)$';
CMIDecimal = '^-?([0-9]{0,3})(\.[0-9]{1,2})?$';
- CMIIdentifier = '^\\w{1,255}$';
+ CMIIdentifier = '^[\\u0021-\\u007E]{0,255}$';
CMIFeedback = CMIString256; // This must be redefined
CMIIndex = '[._](\\d+).';
// Vocabulary Data Type Definition

0 comments on commit ab91190

Please sign in to comment.