Download it now!
Bug 45854 - ODF database mime-type confusion
Summary: ODF database mime-type confusion
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
Master old -3.6
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL: http://lists.oasis-open.org/archives/...
Whiteboard: odf
Keywords:
Depends on:
Blocks: ODF-spec
  Show dependency treegraph
 
Reported: 2012-02-09 13:10 UTC by Michael Stahl (CIB)
Modified: 2019-07-09 09:55 UTC (History)
7 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Stahl (CIB) 2012-02-09 13:10:30 UTC
the ODF 1.2 CS01 Part 1 specification is consistent on the mime type of database documents:

2.2.10 OpenDocument Database Front End Document

> A) The <office:document> element shall have an office:mimetype attribute with the value "application/vnd.oasis.opendocument.base". 
> B) If the document is an OpenDocument package then it shall contain a file named mimetype containing the string " application/vnd.oasis.opendocument.base". 

Appendix C.  MIME Types and File Name Extensions (Non Normative)

> application/vnd.oasis.opendocument.base
> odb
> Database front end document

unfortunately the mime type registered at IANA is a different one:

http://www.iana.org/assignments/media-types/application/vnd.oasis.opendocument.database

note ".base" versus ".database".

it looks like current implementations based on OpenOffice.org, such as LibreOffice, write the ".base" mime type into files, but register with desktop environments for the ".database" variant.
Comment 1 Michael Stahl (CIB) 2012-02-09 13:16:57 UTC
report submitted to OASIS office-comment, see URL
Comment 2 paour 2012-11-10 17:25:09 UTC
Question, why database format name is not ODB (like the extension) and
keep odf for formula ?
When we save a Base or a formula, we have the same :
Type : Database ODF (*.odf) for base
Type : Formula ODF (.odf)(*.odf) for formula
It's not clear !
Nicolas
Comment 3 m.nemo 2013-12-14 18:16:44 UTC
Is there any progress on this bug? Like registering "application/vnd.oasis.opendocument.base" at IANA or changing the spec?

Or has anyone contacted Svante Schubert, as he is listed as contact at IANA? 

Can't LibreOffice just register .base (or both) with desktop environments?
(I really don't like by odb-files to be opened as ZIP-files)
Comment 4 Owen Genat (retired) 2014-01-11 01:06:08 UTC
Link to OASIS JIRA issue added to See Also list for convenience.

(In reply to comment #3)
> Is there any progress on this bug? Like registering
> "application/vnd.oasis.opendocument.base" at IANA or changing the spec?

I sincerely hope that ".base" is changed to ".database" for ODF v1.3 (bringing it in-line with the IANA registered value) to keep this mime type implementation neutral, as well as of a similar nature to the other entries i.e., ".text" instead of ".writer".
Comment 5 Alex Thurgood 2015-01-03 17:39:56 UTC Comment hidden (no-value)
Comment 6 QA Administrators 2016-01-17 20:01:52 UTC Comment hidden (obsolete)
Comment 7 Michael Stahl (CIB) 2016-01-18 12:49:23 UTC
still relevant for tracking the OASIS bug which is not resolved yet
Comment 8 QA Administrators 2017-03-06 13:45:40 UTC Comment hidden (obsolete)
Comment 9 Xisco Faulí 2017-07-13 12:18:02 UTC
Setting Assignee back to default. Please assign it back to yourself if you're
still working on this issue
Comment 10 QA Administrators 2019-07-09 02:44:24 UTC Comment hidden (obsolete)
Comment 11 Michael Stahl (CIB) 2019-07-09 09:55:36 UTC
the OASIS bug might have been resolved but the minutes are somewhat mysterious but if i'm right in remembering what the resolution was it still needs some emails OASIS to IANA