Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
gnumeric
gnumeric
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 369
    • Issues 369
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 1
    • Merge Requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOME
  • gnumericgnumeric
  • Issues
  • #518

Closed
Open
Created Aug 24, 2020 by Einar Lielmanis@einars

Broken .ods export, some date format issue in styles.xml apparently

The .ods file exported by gnumeric was invalid, the contained styles.xml were a mess:

  1. unclosed <number:date-style style:name="ND-0" number:format-source="fixed"><number:month...
  2. the whole styles.xml document is missing </office:document-styles> closing tag.

To reproduce:

  1. open the attached mb.gnumeric
  2. save as .ods (no matter if standard or extended conformance)
  3. try reopening the .ods in gnumeric, observe warnings in console that the document is likely damaged, unexpected xml elements, etc.
  4. try opening .ods in libreoffice, observe a fatal "Format error discovered in the file in sub-document styles.xml".

I was unable to get a repro case starting from a clean sheet, the attached file is the best I could manage — it's pasted and cleaned from my actual data.

Running a fresh git-master as of today (2020-08-24) of goffice and gnumeric, both built from source, on Arch Linux.

mb.gnumeric mb.ods styles.xml

Edited Aug 24, 2020 by Einar Lielmanis
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None