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

XSD step requires Saxon-EE #27

Open
JDziurlaj opened this issue Oct 17, 2022 · 1 comment
Open

XSD step requires Saxon-EE #27

JDziurlaj opened this issue Oct 17, 2022 · 1 comment

Comments

@JDziurlaj
Copy link

When using Calabash with an XProc Pipeline that uses validate-with-xml-schema, I get the error Error: Validation requires Saxon EE. Fair enough, schema validation with Saxon requires EE. However, schema validation is a common use case, so I would ask that another validator be possible to use in its place (parameterize).

@ndw
Copy link
Collaborator

ndw commented Oct 18, 2022

If you don't have EE, it's supposed to use Xerces automatically. There are some compromises, the Xercies API doesn't support quite the same level of flexibility in providing schemas and, while it validates, it doesn't return a PSVI for subsequent steps. It's also a bit slower as the only way to make it work is to serialize the input and run it through Xerces as a parser.

I suppose I might have broken that feature, though I thought I tested it recently. I'll take a look asap.

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

2 participants