SAP Knowledge Base Article - Public

2516669 - LMS Error: The matching wildcard is strict, but no declaration can be found for element 'lom'

Symptom

When we are trying to import a SCORM content, the import fails and gives us the following error message:

"Error on line X: cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'lom'."
ImportContentError.png

Environment

  • SAP SuccessFactors Learning Management System (LMS)
  • iContent

Reproducing the Issue

  1. Logon to LMS Admin
  2. Navigate to Content->Tools->Import Content->Add New Content
  3. Add Any SCORM content to Import
  4. The Error occurs

Cause

The issue might be with the "imsmanifest.xml" file located inside the (content) zip file

Resolution

  • There is a parameter called "lom" in the manifest file
  • The error may be resolved by removing all the occurrences of the lom data inside the content's manifest file, re-zipping the content, and trying to upload the content once again

More detailed steps can be found below:

  1. Extract the content zip file, open the imsmanifest.xml and find "<lom" and remove all the values until "</lom>" and save the file.
  2. Zip the content again (not the folder but the contents in it, for example if you open the zip file it should contain all of the files in it and not just a folder).

Also, this solution is not for all the contents that you upload to the LMS system but only with the ones with which you are facing the issues and this will not affect the behavior of the content in any way.

Keywords

SF SuccessFactors LMS SCORM Content import failed lom error iContent strict element , KBA , LOD-SF-LMS-CNT , Content , Problem

Product

SAP SuccessFactors Learning all versions

Attachments

ImportContentError.png