- From: Rick Jelliffe <rjelliffe@a...>
- To: Frank Steimke <f-steimke@b...>
- Date: Thu, 9 Mar 2017 03:31:45 +1100
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: * make an svrl:active-pattern element to hold the XSD validation results * for each node that has an error in the PSVI, generate an svrl:fired-rule, and provide the XPath and/or linenumber in attributes * for each error on that node, generate an svrl:failed-assert element, and provide a link to the XSD documentation for the particualr error in the @see attribute, and just false() as the assertion, and some assertion text of whatever usefulness you can extract: maybe just "The document should be valid aginst the XSD schema" if the implementation provides no text. (You may be able to fill in @role too.) Regards Rick
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
|