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

FEAT: ODF_3 package mimetype entry #103

Merged
merged 2 commits into from
Nov 26, 2023
Merged

Conversation

carlwilson
Copy link
Member

@carlwilson carlwilson commented Nov 20, 2023

  • 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_3rule.

Fixes #91

- 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.
@carlwilson carlwilson self-assigned this Nov 20, 2023
@carlwilson carlwilson added the enhancement New feature or request label Nov 20, 2023
@carlwilson carlwilson linked an issue Nov 20, 2023 that may be closed by this pull request
@carlwilson carlwilson merged commit 04df93f into integration Nov 26, 2023
4 checks passed
@carlwilson carlwilson deleted the feat/odf-3/mimetype 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
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ODF_3: Enforce mimetype entry
1 participant