Moodle

Manifest validation

Details

  • Type: Sub-task Sub-task
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Duplicate
  • Affects Version/s: 1.7
  • Fix Version/s: None
  • Component/s: SCORM
  • Labels:
    None
  • Affected Branches:
    MOODLE_17_STABLE

Description

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).

Activity

Hide
Martin Dougiamas added a comment -

Another version delay

Show
Martin Dougiamas added a comment - Another version delay
Hide
Martin Dougiamas added a comment -

Assigning to Sadiel for prioritising and fixing.

Show
Martin Dougiamas added a comment - Assigning to Sadiel for prioritising and fixing.
Hide
Martin Dougiamas added a comment -

Assigning to Jesús Rincón to organise and start working on.

Show
Martin Dougiamas added a comment - Assigning to Jesús Rincón to organise and start working on.
Hide
Dan Marsden added a comment -

closing this as a duplicate - we don't need all these "sub tasks" open to track SCORM 2004 work - please see MDL-7068 for detail regarding SCORM 2004 support in Moodle.

Show
Dan Marsden added a comment - closing this as a duplicate - we don't need all these "sub tasks" open to track SCORM 2004 work - please see MDL-7068 for detail regarding SCORM 2004 support in Moodle.

People

Vote (1)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: