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

Providing more validation of string fields #159

Open
lumjjb opened this issue Aug 26, 2022 · 0 comments
Open

Providing more validation of string fields #159

lumjjb opened this issue Aug 26, 2022 · 0 comments

Comments

@lumjjb
Copy link
Collaborator

lumjjb commented Aug 26, 2022

From: #128

  • Validation: There are a number of fields right now that aren't closely checked for validity. As just one example, I don't believe SPDX IDs are checked to confirm that they use only permitted characters; many of the fields are plain strings and are not checked for particular formatting; etc.
    • A validator should also take into account whether and how it is used in connection with a loader. For example, tvloader could be adjusted to take a parameter to optionally fail on parsing, if the parsed document is not strictly valid.
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

No branches or pull requests

1 participant