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

PKG-15 not detected #67

Closed dewhattens closed 9 months ago

dewhattens commented 1 year ago

File with mimetype in manifest nto detect as PGK-15

Testing D:\ODS1\TestCorpusV2\PKG-15\MimeTypeInManfest.ods APP-1: [INFO] Validating D:\ODS1\TestCorpusV2\PKG-15\MimeTypeInManfest.ods. APP-4: [INFO] Validation report for D:\ODS1\TestCorpusV2\PKG-15\MimeTypeInManfest.ods. DOC-3: mimetype [INFO] OpenDocument MIMETYPE application/vnd.oasis.opendocument.spreadsheet detected PKG-16: META-INF\manifest.xml [ERROR] The manifest SHALL contain an entry for every file in the package, manifest file entry mimetype.xml has no corresponding zip entry. NOT VALID, 1 errors, 0 warnings and 1 info messages.

carlwilson commented 11 months ago

This error is caused by a problem with the test corpus file, see https://github.com/dewhattens/TestCorpusv1/issues/6 for details.