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

ODS-3 not detected #58

Closed dewhattens closed 9 months ago

dewhattens commented 11 months ago

Fiel with mimetype error not detecting ODS-3

Testing D:\ODS1\TestCorpusV2\ODS-3\WithMimeTypeError.ods APP-1: [INFO] Validating D:\ODS1\TestCorpusV2\ODS-3\WithMimeTypeError.ods. APP-4: [INFO] Validation report for D:\ODS1\TestCorpusV2\ODS-3\WithMimeTypeError.ods. DOC-1: D:\ODS1\TestCorpusV2\ODS-3\WithMimeTypeError.ods [ERROR] An OpenDocument document SHALL be a single XML file or a Zip file. XML-3: D:\ODS1\TestCorpusV2\ODS-3\WithMimeTypeError.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.

carlwilson commented 9 months ago

Created new issue for ODF_3: #91