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 issue #859: Saxon warning from Jing's Schematron XSLT #910

Merged
merged 1 commit into from
Nov 22, 2018

Conversation

rdeltour
Copy link
Member

The Schematron XSLT built in Jing as an /.. XPath expression which
always evaluates to the empty sequence.
Saxon 9.8 consequently raises a SXWN9000 warning, when the validators
are created (statically, during EPUBCheck's intializations).

This PR initalizes Jing's transformer factory with a static error listener
that ignores this warning.

This is tested as an integration test (since the warning is produced
on the standard error stream at initialization time), run via the
Maven failsafe plugin.

Fixes #859

The Schematron XSLT built in Jing as an `/..` XPath expression which
always evaluates to the empty sequence.
Saxon 9.8 consequently raises a SXWN9000 warning, when the validators
are created (statically, during EPUBCheck's intializations).

This PR initalizes Jing's transformer factory with a static error listener
that ignores this warning.

This is tested as an integration test (since the warning is produced
on the standard error stream at initialization time), run via the
Maven failsafe plugin.

Fixes #859
@rdeltour rdeltour added this to the 4.1.0 milestone Nov 22, 2018
@rdeltour rdeltour merged commit 5045d78 into master Nov 22, 2018
@rdeltour rdeltour deleted the fix/issue-859 branch November 22, 2018 20:41
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