Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gnumeric gnumeric
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 391
    • Issues 391
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOMEGNOME
  • gnumericgnumeric
  • Issues
  • #389
Closed
Open
Issue created Mar 01, 2019 by Ghost User@ghost

Error "No stream named styles.xml found." when reading ODS file

Error message when opening an ODS-file:

No stream named styles.xml found.

The ods file was created by a data export tool and only contained the following files:

  • mimetype
  • content.xml
  • meta.xml
  • META-INF/manifest.xml

An OpenDocument package is not required to contain a styles.xml file:

OpenDocument Version 1.2
Part 1: OpenDocument Schema
section 2.2.1 A.2)
"contain at least **one** of the following files : content.xml and styles.xml"

The current code already supports reading without styles.xml [plugins/openoffice/openoffice-read.c:13904] except for the check at [plugins/openoffice/openoffice-read.c:13741].

See attached patch gnumeric-ods-no-style_xml.patch for a fix.

Assignee
Assign to
Time tracking