openpreserve / odf-validator

Open source Open Document Format (ODF) validation
http://odf.openpreservation.org/
BSD 3-Clause "New" or "Revised" License
3 stars 0 forks source link

Enforce consistency between mimetype file and manifest entry #25

Closed carlwilson closed 10 months ago

carlwilson commented 1 year ago

Section 3.3 of the OpenDocument 1.3 specification, part 2 for packages states:

If the file named “META-INF/manifest.xml” contains a element whose manifest:full-path attribute has the value "/", then a "mimetype" file shall exist, and the content of the “mimetype” file shall be equal to the value of the manifest:media-type attribute 4.16.10 of that element.

The validator currently fails to check that these are consistent as stated.

carlwilson commented 10 months ago

Fixed by recent releases.