- From: Dimitris Kontokostas via GitHub <sysbot+gh@w3.org>
- Date: Sun, 05 Nov 2017 13:56:22 +0000
- To: public-shex-dev@w3.org
One idea that was discussed is to request validation with a desired "weight"/"severity". Then the schema is pre-processed and all constraints below the required level are ignored.
e.g validate `D1` against `S1` with MUST
when original `S1` is:
```
<S1> {
MUST <p1> . ;
SHOULD <p2> . ;
}
```
would be processed to:
```
<S1> {
MUST <p1> . ;
}
```
and perform validation with existing workflow
the preprocessing would need some special care with closed shapes thought.
--
GitHub Notification of comment by jimkont
Please view or discuss this issue at https://github.com/shexSpec/shex/issues/76#issuecomment-341974948 using your GitHub account
Received on Sunday, 5 November 2017 13:56:24 UTC