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

Re-enable the LightRDF-based RDF/XML check. #939

Merged
merged 1 commit into from
Oct 5, 2023

Conversation

gouttegd
Copy link
Contributor

@gouttegd gouttegd commented Oct 5, 2023

(This is the same as #928, but targeting the dev branch for testing purposes.)

The ODK used to have a validation check that ensured that RDF/XML files were valid. The check was based on LightRDF, whichwas fast enough to make it possible to enable the check by default.

We had to disable that check because of a bug in LightRDF that caused the library to sometimes fail to parse perfectly valid RDF/XML files (#745). That bug has been fixed, so now we can re-enable the check by default.

The check-rdfxml script is now invoked by default, and by default is uses the fast LightRDF-based check. A new ODK option is added (extra_rdfxml_checks): when enabled, it instructs the check-rdfxml script to also perform the Jena- and RDFLib-based checks (which are not enabled by default as they are more time-consuming).

The ODK used to have a validation check that ensured that RDF/XML files
were valid. The check was based on LightRDF, whichwas fast enough to
make it possible to enable the check by default.

We had to disable that check because of a bug in LightRDF that caused
the library to sometimes fail to parse perfectly valid RDF/XML files
(#745). That bug has been fixed, so now we can re-enable the check by
default.

The check-rdfxml script is now invoked by default, and by default is
uses the fast LightRDF-based check. A new ODK option is added
(extra_rdfxml_checks): when enabled, it instructs the check-rdfxml
script to *also* perform the Jena- and RDFLib-based checks (which are
not enabled by default as they are more time-consuming).
@gouttegd gouttegd requested a review from matentzn October 5, 2023 15:07
@gouttegd gouttegd merged commit a6d7e0e into dev Oct 5, 2023
@gouttegd
Copy link
Contributor Author

gouttegd commented Oct 5, 2023

@matentzn Merging without review here since you already explicitly approved merging this to the dev branch for testing.

@gouttegd gouttegd deleted the re-enable-lightrdf-based-check-dev branch February 29, 2024 13:11
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.

1 participant