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

Fix intermittent bug with reading schematrons per Saxon upgrade #742

Merged
merged 3 commits into from
Oct 30, 2023

Conversation

al-niessner
Copy link
Contributor

@al-niessner al-niessner commented Oct 27, 2023

🗒️ Summary

Fixed a bad use of null and replaced it with a NullObject that behaves like an object returning obviously null information but preventing null pointer exceptions while handling exceptions.

⚙️ Test Data and/or Report

All unit tests pass

♻️ Related Issues

Closes #739
Refs #707

@al-niessner al-niessner requested a review from a team as a code owner October 27, 2023 21:19
@al-niessner al-niessner marked this pull request as draft October 27, 2023 21:20
@al-niessner
Copy link
Contributor Author

@jordanpadams

Maybe you understand saxon better but if you do not find an expert and ask about these changes. From the saxon error (after fixing the null pointer problem in first change) found that it thought the XLST was being added more than once with different content. All I could think of was that the source systemId is no longer needed in 12.3. Cannot find the line in the release notes to confirm. Anyway, commenting that out makes it all work for good or ill.

@jordanpadams jordanpadams marked this pull request as ready for review October 30, 2023 20:47
@jordanpadams
Copy link
Member

awesome thanks @al-niessner looks great!

@jordanpadams jordanpadams changed the title 739: intermitten problem with reading schematron Fix intermittent bug with reading schematrons per Saxon upgrade Oct 30, 2023
@jordanpadams jordanpadams merged commit 3d5e24c into main Oct 30, 2023
2 checks passed
@jordanpadams jordanpadams deleted the issue_739 branch October 30, 2023 20:49
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.

Intermittent network failures attempting repeated downloads of schemas/schematrons
2 participants