Skip to content

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

Merged
nscuro merged 1 commit intomasterfrom
internalize-schema-validation
Jun 18, 2023
Merged

test: replace usage of cyclonedx-cli with internal schema validation#98
nscuro merged 1 commit intomasterfrom
internalize-schema-validation

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
@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.

1 participant