Skip to content

Commit

Permalink
CSAF library
Browse files Browse the repository at this point in the history
- addresses parts of #676
- clarify validation
- add "anti-pattern"
  • Loading branch information
tschmidtb51 committed Aug 26, 2024
1 parent 7924e06 commit 899c198
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions csaf_2.1/prose/edit/src/conformance.md
Original file line number Diff line number Diff line change
Expand Up @@ -594,19 +594,37 @@ A CSAF library satisfies the "CSAF library with basic validation" conformance pr

* satisfies the "CSAF library" conformance profile.
* satisfies the "CSAF basic validator" conformance profile.
* validates the CSAF document before output according to the "CSAF basic validator" and presents the validation result accordingly.
* provide a function to validate the data structure in its current state according to the "CSAF basic validator" and presents the validation
result accordingly.

A CSAF library does not satisfies the "CSAF library with basic validation" conformance profile if the CSAF library uses an external library or
program for the "CSAF basic validator" part and does not enforce its presence.

### Conformance Clause 21: CSAF library with extended validation

A CSAF library satisfies the "CSAF library with extended validation" conformance profile if the CSAF library:

* satisfies the "CSAF library" conformance profile.
* satisfies the "CSAF extended validator" conformance profile.
* validates the CSAF document before output according to the "CSAF extended validator" and presents the validation result accordingly.
* provide a function to validate the data structure in its current state according to the "CSAF extended validator" and presents the validation
result accordingly.

A CSAF library does not satisfies the "CSAF library with extended validation" conformance profile if the CSAF library uses an external library or
program for the "CSAF extended validator" part and does not enforce its presence.

### Conformance Clause 22: CSAF library with full validation

A CSAF library satisfies the "CSAF library with extended validation" conformance profile if the CSAF library:

* satisfies the "CSAF library" conformance profile.
* satisfies the "CSAF full validator" conformance profile.
* validates the CSAF document before output according to the "CSAF full validator" and presents the validation result accordingly.
* provide a function to validate the data structure in its current state according to the "CSAF full validator" and presents the validation
result accordingly.

A CSAF library does not satisfies the "CSAF library with full validation" conformance profile if the CSAF library uses an external library or
program for the "CSAF full validator" part and does not enforce its presence.

-------

0 comments on commit 899c198

Please sign in to comment.