Uploaded image for project: 'ODF Toolkit'
  1. ODF Toolkit
  2. ODFTOOLKIT-388

Test hangs when iterating over a spreadsheet created with LibreOffice 4.0.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.6-incubating, 0.6.1-incubating
    • 0.6.2-incubating
    • simple api
    • None

    Description

      When iterating over a simple spreadsheet created with LibreOffice 4, the code hangs on Row.getCellCount().

      Running the same document through the validator at http://odf-validator.rhcloud.com/ confirms that it is conformant to ODF1.2:

      The document is conformant ODF1.2!
      Details:
      simple.ods: Info: ODF version of root document: 1.2
      internal:/schema/odf1.2/OpenDocument-v1.2-cos01-manifest-schema.rng: Info: parsed.
      simple.ods/META-INF/manifest.xml: Info: no errors, no warnings
      simple.ods/mimetype: Info: no errors, no warnings
      simple.ods: Info: Media Type: application/vnd.oasis.opendocument.spreadsheet
      internal:/schema/odf1.2/OpenDocument-v1.2-cos01-schema.rng: Info: parsed.
      simple.ods/meta.xml: Info: Generator: LibreOffice/4.0.2.2$Linux_X86_64 LibreOffice_project/400m0$Build-2
      simple.ods/meta.xml: Info: no errors, no warnings
      simple.ods/settings.xml: Info: no errors, no warnings
      simple.ods/styles.xml: Info: no errors, no warnings
      simple.ods/content.xml: Info: no errors, no warnings
      internal:/schema/odf1.2/OpenDocument-v1.2-cos01-dsig-schema.rng: Info: parsed.
      simple.ods: Info: no errors, no warnings

      Attachments

        1. toolkit.patch
          5 kB
          Svante Schubert
        2. SpreadsheetDocumentTest.java
          3 kB
          Bruno Girin
        3. simple.ods
          8 kB
          Bruno Girin
        4. saxProblem.ods
          8 kB
          Svante Schubert
        5. ODFTOOLKIT-388-Test-resources.patch
          18 kB
          Raimund Hölle
        6. ODFTOOLKIT-388-Test.patch
          1 kB
          Raimund Hölle
        7. ODFTOOLKIT-388-CleanupLibreOfficeDummyCells.patch
          53 kB
          Raimund Hölle
        8. incomplete-proposal_IgnoreLibreOfficeDummyCells.patch
          17 kB
          Raimund Hölle
        9. ExcelDummyRowProblem_rows1.ods
          8 kB
          Raimund Hölle
        10. ExcelDummyRowProblem_rows0.ods
          9 kB
          Raimund Hölle

        Activity

          People

            svanteschubert Svante Schubert
            brunogirin Bruno Girin
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: