Open maria-messerschmidt opened 1 month ago
This is now correctly reporting POL_1 again along with a new WARNING PKG-10. Without profile, only the warnings are reported.
Without profile APP-1: [INFO] Validating D:\odsfiler\AT020.ods. APP-4: [INFO] Validation report for D:\odsfiler\AT020.ods. DOC-2: [INFO] package OpenDocument version 1.3 detected. PKG-10: [WARNING] settings.xml Encrypted file entry detected: settings.xml. DOC-3: [INFO] mimetype OpenDocument MIMETYPE application/vnd.oasis.opendocument.spreadsheet detected PKG-10: [WARNING] meta.xml Encrypted file entry detected: meta.xml. PKG-7: [WARNING] Thumbnails\thumbnail.png An OpenDocument Package SHOULD contain a preview image Thumbnails/thumbnail.png. PKG-10: [WARNING] content.xml Encrypted file entry detected: content.xml. PKG-10: [WARNING] styles.xml Encrypted file entry detected: styles.xml. INCOMPLETE encrypted entries are not supported, 0 errors, 5 warnings and 2 info messages.
With profile: APP-1: [INFO] Validating D:\odsfiler\AT020.ods. APP-4: [INFO] Validation report for D:\odsfiler\AT020.ods. DOC-2: [INFO] package OpenDocument version 1.3 detected. PKG-10: [WARNING] settings.xml Encrypted file entry detected: settings.xml. DOC-3: [INFO] mimetype OpenDocument MIMETYPE application/vnd.oasis.opendocument.spreadsheet detected PKG-10: [WARNING] meta.xml Encrypted file entry detected: meta.xml. PKG-7: [WARNING] Thumbnails\thumbnail.png An OpenDocument Package SHOULD contain a preview image Thumbnails/thumbnail.png. PKG-10: [WARNING] content.xml Encrypted file entry detected: content.xml. PKG-10: [WARNING] styles.xml Encrypted file entry detected: styles.xml. INCOMPLETE encrypted entries are not supported, 0 errors, 5 warnings and 2 info messages.
APP-5: [INFO] DNA ODF Spreadsheets Preservation Specification Profile report for D:\odsfiler\AT020.ods. POL_1: [ERROR] settings.xml Encryption | The package MUST NOT contain any encrypted entries. POL_1: [ERROR] manifest.rdf Encryption | The package MUST NOT contain any encrypted entries. POL_1: [ERROR] meta.xml Encryption | The package MUST NOT contain any encrypted entries. POL_1: [ERROR] content.xml Encryption | The package MUST NOT contain any encrypted entries. POL_1: [ERROR] styles.xml Encryption | The package MUST NOT contain any encrypted entries. INCOMPLETE encrypted entries are not supported, 5 errors, 5 warnings and 2 info messages.
The file AT020.ods previously reported POL_1 when validating with profile since it is encrypted via LibreOffice. Without profile, it used to generate XML-3 errors, and this is still the case, but instead of POL_1, it now reports SYS-1 with profile. AT020.ods
C:\ODF\odf-validator-0.14.0>odf-validator.bat -p C:\Users\maria\Desktop\014test\AT020.ods APP-1: [INFO] Validating C:\Users\maria\Desktop\014test\AT020.ods. APP-4: [INFO] Validation report for C:\Users\b340777\Desktop\014test\AT020.ods. DOC-2: [INFO] package OpenDocument version unknown detected. XML-3: [ERROR] settings.xml Not a well formed XML document. XML parsing exception at line 1 and column 1: Invalid byte 1 of 1-byte UTF-8 sequence.. DOC-3: [INFO] mimetype OpenDocument MIMETYPE application/vnd.oasis.opendocument.spreadsheet detected XML-3: [ERROR] manifest.rdf Not a well formed XML document. XML parsing exception at line 1 and column 1: Invalid byte 1 of 1-byte UTF-8 sequence.. XML-3: [ERROR] meta.xml Not a well formed XML document. XML parsing exception at line 1 and column 1: Invalid byte 1 of 1-byte UTF-8 sequence.. PKG-7: [WARNING] Thumbnails\thumbnail.png An OpenDocument Package SHOULD contain a preview image Thumbnails/thumbnail.png. XML-3: [ERROR] content.xml Not a well formed XML document. XML parsing exception at line 1 and column 1: Invalid byte 1 of 1-byte UTF-8 sequence.. XML-3: [ERROR] styles.xml Not a well formed XML document. XML parsing exception at line 1 and column 1: Invalid byte 2 of 2-byte UTF-8 sequence.. NOT VALID, 5 errors, 1 warnings and 2 info messages.
SYS-1: [ERROR] Package could not be parsed, due to an exception. | Unexpected Exception caught when executing Schematron checks.