Re: [xml-dev] Schema validation Report Language?
And I do have a more concrete suggestion: you should be able to convert the output of the XSD validator into SVRL and merge it with the real SVLR. This is code you would have to write, for a particular validator.
You would do something like this:On Wed, Mar 8, 2017 at 7:30 PM, Frank Steimke <[email protected]> wrote:
Hi,
validation of XML-based business documents is often a process with two ore more phases:
a) check structure against XSD or RELAX NG Schema;
b) check additional constraints against Schematron
In typical scenarios the user would like to inspect validation results before he decides about further processing. In order to support automatic inspection as well as logging the incoming trafic, we would like to have the validation report to be a single XML document, which combines all the neccessary information from the validations that took place. We also would like to have extension points for additional, user specific validation, for example electronic signatures or certificates.
So my question to this list is: is there any generic Schema Validation Report Language out there which can act as Schema for reports in this scenario? I'm quite aware of the Schematron Validation Report Language (Annex D of ISO/IEC 19757-3:2016), but this is restricted to Schematron.
Closely related to this question is another one: is it a requirement for every W3C Schema validation engine to report schema errors and validation failures in terms of appendix C "Outcome Tabulations" of XML Schema Part 1: Structures, together with a error location in a standardized way? Does this also hold for relax NG engines (although i know only one ...).
Thanks in advance,
Frank Steimke
_______________________________________________________________________
XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.
[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: [email protected]
subscribe: [email protected]
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php