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

Have you guys had a look at https://github.com/phax/ph-schematron #2

Open
jkiddo opened this issue Mar 10, 2017 · 5 comments
Open

Comments

@jkiddo
Copy link

jkiddo commented Mar 10, 2017

No description provided.

@braeckel
Copy link
Contributor

I was not aware of this library, thanks for sending it along. It appears to be quite similar in approach to what is currently implemented for Schematron support (i.e., XSLT transformation using Saxon of the ISO Schematron XSLT scripts). At the moment the current implementation is working well, but perhaps you are aware of specific features or advantages of this library. I generally prefer to avoid pulling in new dependencies unless there is a compelling reason.

@jkiddo
Copy link
Author

jkiddo commented Mar 10, 2017

Right - the reason that I mentioned it was that what you guys were doing seemed similar - and since both projects are open source I just wondered if a joint effort would be a way forward.

Disclaimer: I'm not the author of ph-schematron, but I'm using it and have reported bugs and corrections to it.

@braeckel
Copy link
Contributor

That is worth considering, I don't have time to look into this at the moment but I will leave this issue open for the next phase of work on the Schematron side of the library.

@borisburger
Copy link

The project description says ph-schematron provides an alternative implementation of validation that does not rely on XSLT. That leads to better performance - which sounds interesting - but there are some limitations in this non-XSLT approach (they do not give specifics about the actual limitations).

@jkiddo
Copy link
Author

jkiddo commented Mar 10, 2017

From their project site (http://phax.github.io/ph-schematron/)

"The most common way is to convert the source Schematron file to an XSLT script and apply this XSLT on the XML document to be validated. Alternatively ph-schematron offers a native implementation for the Schematron XPath binding which offers superior performance over the XSLT approach but has some other minor limitations."

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

3 participants