Issue Details (XML | Word | Printable)

Key: MDL-7092
Type: Sub-task Sub-task
Status: Open Open
Priority: Critical Critical
Assignee: Dan Marsden
Reporter: Roberto Pinna
Votes: 1
Watchers: 3
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle
MDL-7068

Manifest validation

Created: 19/Oct/06 12:54 PM   Updated: 03/Jul/08 11:27 AM
Return to search
Component/s: SCORM
Affects Version/s: 1.7
Fix Version/s: None

Participants: Dan Marsden, Martin Dougiamas and Roberto Pinna
Security Level: None
Affected Branches: MOODLE_17_STABLE


 Description  « Hide
This feature is not required for SCORM 2004 compliance but it may solves many problems during manifest parsing.
A SCORM manifest is based on several XML schemas linked in the manifest, and sometimes included in the package.
I didn't find a PHP function to do this with several schemas so the solution seems to be write an XML Validator in PHP.
I search for how the others PHP LMS do this without fortune because the one that do this uses a java class called as an external command. This means that we must have a java virtual machine on the server that is not an easy thing for hosted solutions.
In a old SCORM module release I introduced a validation script written from a student (he does it as his thesys) but it validate only SCORM 2004 and with standard schemas.
I think this not may be useful in a general validation problem solution, it uses a lot of "case" and "if" to check all the CAM (Content Aggregation Model).

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
No commits have yet been performed on this issue.