Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ODF_3: Enforce mimetype entry #91

Closed
carlwilson opened this issue Nov 13, 2023 · 0 comments · Fixed by #103
Closed

ODF_3: Enforce mimetype entry #91

carlwilson opened this issue Nov 13, 2023 · 0 comments · Fixed by #103
Assignees

Comments

@carlwilson
Copy link
Member

An ODF package MUST have a mimetype entry as specified in the Section 3.3 of the ODF specification v1.3.

A MIME type declaration is required in the first line of the file mimetype and an entry in the file \META-INF\manifest.xml

The MIME type must be declared. This is to ensure file format identification tools can accurately identify the file.
A media type (also known as a Multipurpose Internet Mail Extensions or MIME type) indicates the nature and format of a document, file, or assortment of bytes. MIME types are defined and standardized in IETF's RFC 6838.

If the MIME type is missing or not valid then the archive will be rejected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant