File tree 1 file changed +4
-0
lines changed
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -4707,6 +4707,8 @@ <h4>sh:and</h4>
4707
4707
< p >
4708
4708
Note that although < code > sh:and</ code > has a < a > SHACL list</ a > of shapes as its value,
4709
4709
the order of those shapes does not impact the validation results.
4710
+ For implementations that use shortcut evaluation semantics, the order may impact the efficiency of validation.
4711
+ It is recommended to put earlier in the list constraints that are easier to evaluate, or are more likely to fail.
4710
4712
</ p >
4711
4713
< p >
4712
4714
The following example illustrates the use of < code > sh:and</ code > in a shape to specify the condition
@@ -4853,6 +4855,8 @@ <h4>sh:or</h4>
4853
4855
< p >
4854
4856
Note that although < code > sh:or</ code > has a < a > SHACL list</ a > of shapes as its value,
4855
4857
the order of those shapes does not impact the validation results.
4858
+ For implementations that use shortcut evaluation semantics, the order may impact the efficiency of validation.
4859
+ It is recommended to put earlier in the list constraints that are easier to evaluate, or are more likely to succeed.
4856
4860
</ p >
4857
4861
< p >
4858
4862
The following example illustrates the use of < code > sh:or</ code > in a shape to specify the condition
You can’t perform that action at this time.
0 commit comments