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

Any errors in a schematron schema are not handled #196

Open
Conal-Tuohy opened this issue Aug 23, 2023 · 0 comments
Open

Any errors in a schematron schema are not handled #196

Conal-Tuohy opened this issue Aug 23, 2023 · 0 comments
Assignees

Comments

@Conal-Tuohy
Copy link
Collaborator

If a schematron schema contains a syntax error, then the p:validate-with-schematron step throws an error which for some reason is not being caught, despite being enclosed in a p:try block with a p:catch. It makes it awkward to debug schematron schemas because although the error appears in the XML service's log, it isn't returned to the client JS like all the other errors.

Maybe a bug in XMLCalabash's implementation of p:validate-with-schematron?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant