How do I return Schematron validation results in a structured manner

前端 未结 3 1620
执念已碎
执念已碎 2021-01-14 09:48

I have created several Schematron assertations and they are all running fine against my XML instances. However, I would like to structure the output of my error messages in

3条回答
  •  余生分开走
    2021-01-14 10:12

    Actually to get a Schematron report as XML you should use SVRL. You can learn more about it here: Schematron Validation Report Language (SVRL)

    The big advantage of using SVRL is that you can also get detailed information about where the assertion/report was triggered as an XPath.

提交回复
热议问题