phax / ph-schematron

Java Schematron library that supports XSLT and native application
Apache License 2.0
116 stars 36 forks source link

Can you please post a step by step and simple tutorial about this? #34

Closed ermarkar closed 5 years ago

ermarkar commented 7 years ago

Thanks for the implementation and tutorial. But I am still confused how to run? Can you please post a step by step and simple tutorial about this?

phax commented 7 years ago

Thanks for creating the issue :) It's basically a library that needs to be integrated into an existing solution and does not offer a standalone GUI.

trashcandrummer commented 5 years ago

Using the documentation, the implementation was simple except for one optional step: How do I quickly access a "report" about failing assertions? I found this example after a short search. Would be good if you added that to the documentation :)

phax commented 5 years ago

@trashcandrummer thanks for the update. Be careful to always check for "failed assertions" and "successful" reports because they might have the same impact. I personally would go for ICommonsList <AbstractSVRLMessage> SVRLHelper::getAllFailedAssertionsAndSuccessfulReports (@Nullable SchematronOutputType) as it captures both types. Nevertheless I will update the specification.

trashcandrummer commented 5 years ago

Even more handy :) Thanks for the tip and the quick feedback!

phax commented 5 years ago

I added a section at http://phax.github.io/ph-schematron/ - eventually you need to reload without caching. Thanks for the proposal.