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

test: replace usage of cyclonedx-cli with internal schema validation #98

Merged
merged 1 commit into from Jun 18, 2023

Conversation

nscuro
Copy link
Member

@nscuro nscuro commented Jun 18, 2023

The functionality is only available in tests and not exposed as part of the public API. This is mostly due to the fact that XML validation is based on libxml2, thus requiring CGO.

Performing the schema validation ourselves enables us to work on supporting new specification versions, before they are supported by the CycloneDX CLI (e.g. #90).

@nscuro nscuro added the enhancement New feature or request label Jun 18, 2023
@nscuro nscuro requested a review from a team as a code owner June 18, 2023 16:01
@nscuro nscuro force-pushed the internalize-schema-validation branch from ac4adfd to ff2e673 Compare June 18, 2023 16:03
The functionality is only available in tests and not exposed as part of the public API. This is mostly due to the fact that XML validation is based on `libxml2`, thus requiring CGO.

Signed-off-by: nscuro <nscuro@protonmail.com>
@nscuro nscuro force-pushed the internalize-schema-validation branch from ff2e673 to 0a6c27f Compare June 18, 2023 16:06
@nscuro nscuro merged commit 8c95b53 into master Jun 18, 2023
9 checks passed
@nscuro nscuro deleted the internalize-schema-validation branch June 18, 2023 16:14
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.

None yet

1 participant