Apache OpenOffice (AOO) Bugzilla – Issue 104786
Check that the ODF version is the same in manifest.xml and content.xml
Last modified: 2017-05-20 10:29:14 UTC
There are some new policies regarding ODF1.2 document. But the implementation uses entry from manifest.xml to get the version from the document. To make the check more safe ( especially in case of encrypted documents ) the framework should check that the value in content.xml is the same as in the manifest.xml as a part of document consistency check.
Fixed
mav->hi: Please verify the issue. To do so, please remove or edit the manifest:version attribute in the manifest.xml.
Created attachment 64597 [details] The document with removed ODF version in manifest.xml
Created attachment 64598 [details] Another document with removed manifest:version attribute
Created attachment 64599 [details] Draw document with removed version attribute.
Created attachment 64600 [details] Impress document with removed manifest:version attribute
verified in encsig09 = OK
Changing the version in content.xml is still possible. But the intention for this issue was to protect manifest.xml in encrypted or signed documents, where manipulations to content.xml are not possible anyway. For normal documents, where this integrity check might also be interesting, I wrote the follow up issue #105048#