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: Improved ODF version detection #167

Merged
merged 1 commit into from
Jul 25, 2024
Merged

Conversation

carlwilson
Copy link
Member

  • added a version detection method to PackageParserImpl to detect the ODF version of a package;
  • added a Version field to the OdfPackage class to store the detected version;
  • added getDetectedVersion method to the OdfPackage class to return the detected version;
  • restored reporting of DOC-2 for package version;
  • improved POL_2 detection and messaging for non ODF 1.3 packages;
  • added a Version.UNKNOWN value to the OdfVersion enum;
  • improved formatting of error message output; and
  • tests for the above.

- added a version detection method to `PackageParserImpl` to detect the ODF version of a package;
- added a `Version` field to the `OdfPackage` class to store the detected version;
- added `getDetectedVersion` method to the `OdfPackage` class to return the detected version;
- restored reporting of `DOC-2` for package version;
- improved `POL_2` detection and messaging for non ODF 1.3 packages;
- added a `Version.UNKNOWN` value to the `OdfVersion` enum;
- improved formatting of error message output; and
- tests for the above.
@carlwilson carlwilson added bug Something isn't working enhancement New feature or request labels Jul 23, 2024
@carlwilson carlwilson self-assigned this Jul 23, 2024
@carlwilson carlwilson linked an issue Jul 23, 2024 that may be closed by this pull request
@carlwilson carlwilson merged commit f763f85 into integration Jul 25, 2024
4 checks passed
@carlwilson carlwilson deleted the feat/version-support branch July 25, 2024 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Misleading error messages for incorrect versions
1 participant