Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-38058

Exporting into IMSCC and importing IMSCC causes errors

    Details

    • Type: Bug
    • Status: RESOLVED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.9.0
    • Fix Version/s: 2.9.0
    • Component/s: Lessons
    • Labels:
      None
    • Environment:
      LANG=es
    • Previous Issue Keys:
      LSNBLDR-296

      Description

      If you create a course structure that the pages contain accents or "ñ", you cannot export and import using the IMS CC standard.

      Steps to reproduce it:

      1-Create some pages and subpages that contains accents or ñ (á é í ó ú or ñ)
      2-Export into IMS CC
      3-Delete Lesson Builder contents in that site
      4-Import the same file using IMS CC

      AFAIK, the error happens when process the imsmanifest.xml, log throws errors like this:

      Caused by: org.jdom.input.JDOMParseException: Error on line 32: The entity "oacute" was referenced, but not declared.
      at org.jdom.input.SAXBuilder.build(SAXBuilder.java:468)
      at org.jdom.input.SAXBuilder.build(SAXBuilder.java:770)
      at org.sakaiproject.lessonbuildertool.cc.AbstractParser.getXML(AbstractParser.java:133)
      ... 86 more
      Caused by: org.xml.sax.SAXParseException; lineNumber: 32; columnNumber: 34; The entity "oacute" was referenced, but not declared.

      If you remove the accents and ñ from the imsmanifest.xml works perfectly, only fails processing this kind of entities.

      Should we use xml codes instead of html entities?

      Example: Instead of é use é

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                hedrick Charles Hedrick
                Reporter:
                farreri Miguel Pellicer
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code