Github user kinow commented on the issue:
https://github.com/apache/jena/pull/188
>Suggestion: we merge this as is, write a proposal on JENA-1197 that each
call of a single file parse returns an object describing the outcome and
exec$() aggregates the results into a final outcome, including setting the exit
code.
Yup, agree. Here's the output when running a command with one valid file,
followed by invalid files.
```
$ riot --validate /tmp/valid.ttl /tmp/invalid1.ttl /tmp/invalid2.ttl
INFO File: /tmp/valid.ttl
INFO File: /tmp/invalid1.ttl
ERROR [line: 1, col: 4 ] Unrecognized: FDS
```
The valid file is a cheeses ttl file found in Jena sources. The invalid
file has some random data.
```
cat /tmp/invalid.ttl
fdsfd
```
Maybe we could merge and fix JENA-1197, then file a new issue to
accommodate the more complete changes suggested in this pull request.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---