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-5 not detected #71

Closed dewhattens closed 8 months ago

dewhattens commented 9 months ago

set mimetype encoding to UTF8 and not detected

Testing D:\ODS1\TestCorpusV2\PKG-5\mimetypeencoding.ods APP-1: [INFO] Validating D:\ODS1\TestCorpusV2\PKG-5\mimetypeencoding.ods. APP-4: [INFO] Validation report for D:\ODS1\TestCorpusV2\PKG-5\mimetypeencoding.ods. DOC-3: mimetype [INFO] OpenDocument MIMETYPE application/vnd.oasis.opendocument.spreadsheet detected XML-4: content.xml [ERROR] Not a valid XML document. Validation exception at line 2 and column 2331: attribute "loext:font-style" not allowed here; expected attribute "xlink:actuate". XML-4: content.xml [ERROR] Not a valid XML document. Validation exception at line 2 and column 2331: attribute "loext:font-weight" not allowed here; expected attribute "xlink:actuate". XML-4: content.xml [ERROR] Not a valid XML document. Validation exception at line 2 and column 2524: attribute "loext:font-style" not allowed here; expected attribute "xlink:actuate". XML-4: content.xml [ERROR] Not a valid XML document. Validation exception at line 2 and column 2524: attribute "loext:font-weight" not allowed here; expected attribute "xlink:actuate". XML-4: content.xml [ERROR] Not a valid XML document. Validation exception at line 2 and column 2719: attribute "loext:font-style" not allowed here; expected attribute "xlink:actuate". XML-4: content.xml [ERROR] Not a valid XML document. Validation exception at line 2 and column 2719: attribute "loext:font-weight" not allowed here; expected attribute "xlink:actuate". XML-4: content.xml [ERROR] Not a valid XML document. Validation exception at line 2 and column 2912: attribute "loext:font-style" not allowed here; expected attribute "xlink:actuate". XML-4: content.xml [ERROR] Not a valid XML document. Validation exception at line 2 and column 2912: attribute "loext:font-weight" not allowed here; expected attribute "xlink:actuate". XML-4: content.xml [ERROR] Not a valid XML document. Validation exception at line 2 and column 3326: attribute "loext:font-style" not allowed here; expected attribute "xlink:actuate". XML-4: content.xml [ERROR] Not a valid XML document. Validation exception at line 2 and column 3326: attribute "loext:font-weight" not allowed here; expected attribute "xlink:actuate". XML-4: content.xml [ERROR] Not a valid XML document. Validation exception at line 2 and column 3527: attribute "loext:font-style" not allowed here; expected attribute "xlink:actuate". XML-4: content.xml [ERROR] Not a valid XML document. Validation exception at line 2 and column 3527: attribute "loext:font-weight" not allowed here; expected attribute "xlink:actuate". XML-4: content.xml [ERROR] Not a valid XML document. Validation exception at line 2 and column 3730: attribute "loext:font-style" not allowed here; expected attribute "xlink:actuate". XML-4: content.xml [ERROR] Not a valid XML document. Validation exception at line 2 and column 3730: attribute "loext:font-weight" not allowed here; expected attribute "xlink:actuate". XML-4: content.xml [ERROR] Not a valid XML document. Validation exception at line 2 and column 3931: attribute "loext:font-style" not allowed here; expected attribute "xlink:actuate". XML-4: content.xml [ERROR] Not a valid XML document. Validation exception at line 2 and column 3931: attribute "loext:font-weight" not allowed here; expected attribute "xlink:actuate". NOT VALID, 16 errors, 0 warnings and 1 info messages.

carlwilson commented 8 months ago

We won't be testing for mimetype file contents encoding as discussed in the call on 7/11 as there are too many possible problems. This makes PKG-5 redundant, it was derived from the specification but a workable test isn't implementable. Please close if you agree @dewhattens