Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX: Align messages with draft specification #106

Merged
merged 5 commits into from
Nov 26, 2023

Conversation

carlwilson
Copy link
Member

  • swapped MAN-1 and MAN-4 so that the first matches the reporting in the spec.

- added new `org.openpreservation.odf.validation.Rule` interface for extended checks;
- implemented `org.openpreservation.odf.validation.AbstractRule` class;
- implemented `ODF_2` compliance test and reporting;
- added `org.openpreservation.odf.validation.Rules` utility class; and
- tidied `PackageParserTest` class.
- implemented package `mimetype` entry detection as `ODF_3` rule;
- added null archive protection for `org.openpreservation.odf.pkg.OdfPackageImpl` methods; and
- added `Rules` method to get `ODF_3`rule.
- implemented rule for extension and MIME type checking;
- added `Rules` method for instantiation of rule; and
- cleaned up unnecessary exceptions.
- added necessary Package methods to implement digital signature detection;
- implemented digital signature detection for ODF_9 in `DigitalSignaturesRule`; and
- added method to `Rules` for easy rule instantiation.
- swapped `MAN-1` and `MAN-4` so that the first matches the reporting in the spec.
@carlwilson carlwilson self-assigned this Nov 23, 2023
@carlwilson carlwilson added the bug Something isn't working label Nov 23, 2023
@carlwilson carlwilson merged commit 0fec1f3 into integration Nov 26, 2023
4 checks passed
@carlwilson carlwilson deleted the fix/message-numbers branch November 30, 2023 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant