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

Use schematron runner class #25

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft

Use schematron runner class #25

wants to merge 3 commits into from

Conversation

hubgit
Copy link
Member

@hubgit hubgit commented Apr 13, 2020

Use a new Schematron class for running the Schematron validations, via fontoxpath.

TODO:

  • Match the existing format for returning validations
  • Convert positions to line and column numbers?
  • Distinguish between errors and warnings
  • Handle XPath selectors in messages

@vercel
Copy link

vercel bot commented Apr 13, 2020

This pull request is being automatically deployed with ZEIT Now (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://zeit.co/jats4r/jats-validator/bsvhjda1m
✅ Preview: https://jats-validator-git-xpath-validator.jats4r.now.sh

@hubgit
Copy link
Member Author

hubgit commented Apr 13, 2020

Alternatively, use https://github.com/wvbe/node-schematron

@hubgit
Copy link
Member Author

hubgit commented Apr 13, 2020

This will be more useful once matches is supported in fontoxpath: FontoXML/fontoxpath#188

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.

None yet

1 participant