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

Complaint of not being a odf file #51

Closed dewhattens closed 11 months ago

dewhattens commented 11 months ago

Testing D:\ODS1\TestCorpusV2\PKG-8\ExtraFieldInMimeType.ods APP-1: [INFO] Validating D:\ODS1\TestCorpusV2\PKG-8\ExtraFieldInMimeType.ods. APP-4: [INFO] Validation report for D:\ODS1\TestCorpusV2\PKG-8\ExtraFieldInMimeType.ods. DOC-1: D:\ODS1\TestCorpusV2\PKG-8\ExtraFieldInMimeType.ods [ERROR] An OpenDocument document SHALL be a single XML file or a Zip file. XML-3: D:\ODS1\TestCorpusV2\PKG-8\ExtraFieldInMimeType.ods [ERROR] Not a well formed XML document. XML parsing exception at line 1 and column 1: Content is not allowed in prolog.. NOT VALID, 2 errors, 0 warnings and 0 info messages.

File is a valid zip package but with an extra field in mimetype but DOC-1 is reported