Description: Writer and Impress bundled Templates are now built from XML code. See https://gerrit.libreoffice.org/58787/ for Writer and https://gerrit.libreoffice.org/47221/ for Impress. However these templates do not pass ODF validation test https://odfvalidator.org/ as mimetype files are compressed with other files Steps to reproduce: 1. Go to https://odfvalidator.org/ 2. Select ODF Version = OASIS ODF 1.2 (extended conforming) 3. Browse to instdir/share/template/common/offimisc/Businesscard-with-logo.ott for instance 4. Click Validate Expected result: The green message "The document is extended conformant ODF1.2!" must appear Actual result: Red message: "The document is NOT extended conformant ODF1.2!" Businesscard-with-logo.ott/mimetype: Error: The file 'mimetype' shall not be compressed in the ODF package 'Businesscard-with-logo.ott'! Same apply to all Writer and Impress templates.
Laurent BP committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/+/74ac288132de7046ce25eb4539be6b9a25138399%5E%21 tdf#125010 No compression to mimetype in templates It will be available in 6.3.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Laurent BP committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/+/afb4db718438515a5514b9247f912f970add90c7%5E%21 tdf#125010 No compression to mimetype in all embded files It will be available in 6.3.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.