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-14 not detected #66

Closed dewhattens closed 10 months ago

dewhattens commented 1 year ago

File with manifest in manifest not detecting PKG-14

Testing D:\ODS1\TestCorpusV2\PKG-14\manifestContainsManifest.ods APP-1: [INFO] Validating D:\ODS1\TestCorpusV2\PKG-14\manifestContainsManifest.ods. APP-4: [INFO] Validation report for D:\ODS1\TestCorpusV2\PKG-14\manifestContainsManifest.ods. PKG-8: mimetype [ERROR] The ?mimetype? file SHALL NOT use an 'extra field' in its header. 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 META-INF\manifest.xml has no corresponding zip entry. XML-4: META-INF\manifest.xml [ERROR] Not a valid XML document. Validation exception at line 2 and column 88: element "manifest:manifest" missing required attribute "manifest:version". PKG-18: Thumbnails\thumbnail.png [WARNING] An OpenDocument package SHOULD contain a preview image Thumbnails/thumbnail.png. NOT VALID, 3 errors, 1 warnings and 1 info messages.

carlwilson commented 11 months ago

There is an issue with the test file here, see https://github.com/dewhattens/TestCorpusv1/issues/3 for details.