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: Flat file policies #220

Merged
merged 1 commit into from
Nov 20, 2024
Merged

Conversation

carlwilson
Copy link
Member

Also a start to the upcoming refactoring. The Profile and Rule classes now check OpenDocument objects rather than OdfPackage or OdfXmlDocument objects. This is a step towards the upcoming refactoring where the OpenDocument class will be the main class for handling OpenDocument files.

  • Profile and Rule now check OpenDocument objects rather than OdfPackage or OdfXmlDocument objects;
  • sensible flat file implementations now added for all policies (this still means returning an empty message list for some that are package exclusive);
  • OpenDocument now has a Path attribute and instantiation now requires a Path object;
  • added a path attribute to the ZipArchive so that tracing a documents source is easier;
  • updated version of commons-compress to 1.27.1;
  • replaced deprecated ZipFile constructors with ZipFile.Builder instantiation; and
  • refactored some test duplication.

Also a start to the upcoming refactoring. The `Profile` and `Rule` classes now check `OpenDocument` objects rather than `OdfPackage` or `OdfXmlDocument` objects. This is a step towards the upcoming refactoring where the `OpenDocument` class will be the main class for handling OpenDocument files.

- `Profile` and `Rule` now check `OpenDocument` objects rather than `OdfPackage` or `OdfXmlDocument` objects;
- sensible flat file implementations now added for all policies (this still means returning an empty message list for some that are package exclusive);
- `OpenDocument` now has a `Path` attribute and instantiation now requires a `Path` object;
- added a `path` attribute to the `ZipArchive` so that tracing a documents source is easier;
- updated version of commons-compress to 1.27.1;
- replaced deprecated `ZipFile` constructors with `ZipFile.Builder` instantiation; and
- refactored some test duplication.
@carlwilson carlwilson self-assigned this Nov 20, 2024
@carlwilson carlwilson added this to the v0.16 milestone Nov 20, 2024
@carlwilson carlwilson merged commit 1c50dcc into integration Nov 20, 2024
4 of 5 checks passed
@carlwilson carlwilson deleted the feat/single-file-schematron branch November 20, 2024 13:53
@carlwilson carlwilson restored the feat/single-file-schematron branch November 20, 2024 15:35
@carlwilson carlwilson deleted the feat/single-file-schematron branch November 20, 2024 15:58
@carlwilson carlwilson restored the feat/single-file-schematron branch November 20, 2024 15:59
@carlwilson carlwilson deleted the feat/single-file-schematron branch December 2, 2024 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant