Bug 151340 - ODF Validator does not accept new mimetype "text-master-template"
Summary: ODF Validator does not accept new mimetype "text-master-template"
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.5.0.0 alpha0+
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: ODF-spec
  Show dependency treegraph
 
Reported: 2022-10-04 15:47 UTC by Regina Henschel
Modified: 2023-10-05 08:50 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
template for master document (7.65 KB, application/vnd.oasis.opendocument.text-master-template)
2022-10-04 15:47 UTC, Regina Henschel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Regina Henschel 2022-10-04 15:47:23 UTC
Created attachment 182830 [details]
template for master document

Validate attached document for ODF 1.3. It fails with error message "The ODF mimetype 'application/vnd.oasis.opendocument.text-master-template' is invalid for the ODF XML Schema document!"

For more problems see https://lists.oasis-open.org/archives/office/202210/msg00004.html

@Michael: Please have a look.
Comment 1 Michael Stahl (allotropia) 2022-10-04 15:55:00 UTC
i have a vague memory of us trying to add the mime types but Svante objecting to add them before ODFDOM implements ODF 1.3.

i guess this issue should be filed on GitHub against ODF Toolkit.
Comment 2 Michael Stahl (allotropia) 2022-10-04 17:31:02 UTC
there was this commit which was not merged into the 0.9 branch, in branch 0.9-ODF1.3:

https://github.com/tdf/odftoolkit/commit/b07c4fd40aab18730fb9aa9c100e2095ae50d238

there was this commit which was not merged into the master branch, in branch 1.0-ODF1.3:

https://github.com/tdf/odftoolkit/commit/69de3770cf0a7e0c5942e9af475d4b5b5c7ccc27
Comment 3 Michael Stahl (allotropia) 2023-10-05 08:50:43 UTC
the problem will be fixed in ODF Toolkit 0.12, with

https://github.com/tdf/odftoolkit/commit/d9875557fa5355ead0a0f56b8c54e55a0e2b0e31