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

Add a validation guarantee to curated CDDL extracts #1422

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

tidoust
Copy link
Member

@tidoust tidoust commented Dec 19, 2024

This leverages CDDL validation in Strudy to provide a validation guarantee to curated CDDL extracts, see #1417.

A cddlpatches folder, which will hopefully remain empty, gets added so that we may temporarily patch CDDL extracts when they become invalid.

The PR is ready for review, but CDDL extracts in Webref are invalid for now. CDDL extracts from the permissions spec should become valid with next crawl. CDDL extracts from the at-driver depend on w3c/at-driver#85. I suggest to leave this PR pending until the extracts in Webref become valid, not to have to start with adding patches.

This leverages CDDL validation in Strudy to provide a validation guarantee to
curated CDDL extracts.

A `cddlpatches` folder, which will hopefully remain empty, gets added so that
we may temporarily patch CDDL extracts that become invalid.
Bumping the version of Strudy brings new Web IDL anomaly types:
- `noEvent` needs events data that is not included in the data we pass to the
study function. It must be ignored.
- `urlType` is new and we probably don't want to block curation because of it,
at least for now (or we're going to have a lot of patching to do...)
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

Successfully merging this pull request may close these issues.

2 participants