Re: Output SVRL from Schematron Validator

2021-04-05 Thread John Wass
; Sent: Monday, March 29, 2021 1:55 PM > To: dev@daffodil.apache.org > Subject: Re: Output SVRL from Schematron Validator > > The thought with the OutputStream was it would be dumped directly to a file > or log or stdout, definitely more of a logging effect than for more > proc

Re: Output SVRL from Schematron Validator

2021-04-05 Thread Beckerle, Mike
g. in SAPI/JAPI? I would imagine so. From: John Wass Sent: Monday, March 29, 2021 1:55 PM To: dev@daffodil.apache.org Subject: Re: Output SVRL from Schematron Validator The thought with the OutputStream was it would be dumped directly to a file or log or s

Re: Output SVRL from Schematron Validator

2021-03-29 Thread John Wass
The thought with the OutputStream was it would be dumped directly to a file or log or stdout, definitely more of a logging effect than for more processing, since the structured results from a validator are already returned as ValidationResult. That idea looks and sounds worse today that it did ini

Re: Output SVRL from Schematron Validator

2021-03-26 Thread Steve Lawrence
What about if each ParseResult has a member that's something like val validationData: Option[AnyRef] Each validator can optionally return some validation data which is then store in this member. The user could then access this validation data through the ParseResult and cast it to what it shoul

Re: Output SVRL from Schematron Validator

2021-03-26 Thread John Wass
Reference implementation here https://github.com/jw3/daffodil/tree/validator_outputstream Currently has changes sketched in from the parse result on down. Need to wire things in through DP and CLI yet. Haven't thought of an alternative that works yet. On Tue, Mar 23, 2021 at 12:59 PM John Wass

Output SVRL from Schematron Validator

2021-03-23 Thread John Wass
Looking at DAFFODIL-2482 that came up due to a gap that's blocking integration of the schematron validation functionality into some workflows that require the full SVRL output, not just the pass/fail status. So what needs to happen here is the SVRL that we currently just parse for errors and disca