Uploaded image for project: 'Keikai'
  1. Keikai
  2. KEIKAI-402

the importer can be tolerant of new line characters

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Normal Normal
    • 5.6.0
    • None
    • None
    • Security Level: Jimmy
    • None
    • None

      Current Problem

      When importing a file, if its <sheetData> contains a new line character \n, it fails the importing. Check sheet1.xml

      Test file (cannot be public accessible): https://drive.google.com/file/d/15MylTw01PS4QTFbpaLjMoCBCQ6fStz68/view?usp=sharing

      Error

      java.lang.UnsupportedOperationException: Unsupported content value: [
      ]
          at io.keikai.importer.xml.SheetData.addContent(SheetData.java:48)
          at io.keikai.importer.XlsxParser.parseElement(XlsxParser.java:372)
          at io.keikai.importer.XlsxParser.parseElement(XlsxParser.java:392)
          at io.keikai.importer.XlsxParser.parseXML(XlsxParser.java:225)
          at io.keikai.importer.XlsxImporter.newXlsxExtractor(XlsxImporter.java:2394)
          at io.keikai.importer.XlsxImporter.imports(XlsxImporter.java:231)
          at io.keikai.range.impl.imexp.ExcelImportAdapter.imports(ExcelImportAdapter.java:48)
          at io.keikai.api.impl.ImporterImpl.imports(ImporterImpl.java:58)
          at io.keikai.api.impl.ImporterImpl.imports(ImporterImpl.java:90)
          at io.keikai.api.impl.ImporterImpl.imports(ImporterImpl.java:77)
      

      Expected result

      Since Excel can open

            henrichen henrichen
            hawk hawk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: