You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let <code>$memberShape</code> be a <a>parameter value</a> for <code>sh:memberShape</code>.
4568
4568
Each <a>value node</a><code>v</code> must be a <ahref="#syntax-rule-SHACL-list">SHACL list</a> - if <code>v</code> is not a SHACL list there is a <a>validation result</a>.
4569
-
If any member <code>m</code> of the list<code>v</code> does not <a>conform</a> to <code>$memberShape</code>, there is a <a>validation result</a>. There must be at most one <a>validation result</a> for each list <code>v</code>.
4569
+
If any member <code>m</code> of the <ahref="#syntax-rule-SHACL-list">SHACL list</a><code>v</code> does not <a>conform</a> to <code>$memberShape</code>, there is a <a>validation result</a>.
4570
4570
</div>
4571
4571
</div>
4572
4572
<p><em>The remainder of this section is informative.</em></p>
4573
4573
<p>
4574
4574
Each member <code>m</code> of a value node <code>v</code> that does not conform to the <code>$memberShape</code> should be reported as a separate <code>sh:detail</code> in the <a>validation result</a> for <code>v</code>.
4575
-
If the list <code>v</code> is not a valid <ahref="#syntax-rule-SHACL-list">SHACL list</a>, this should also be reported as a <code>sh:detail</code> in the <a>validation result</a>for <code>v</code>.
4575
+
If <code>v</code> is not a valid <ahref="#syntax-rule-SHACL-list">SHACL list</a>, this should be reported as a top-level <a>validation result</a>and validation of individual members should not be attempted.
4576
4576
</p>
4577
4577
<p>
4578
4578
Examples of how to generate <code>sh:detail</code>s in validation results can be found in the test cases for <code>sh:memberShape</code> in the SHACL test suite: <ahref="../shacl12-test-suite/tests/core/node/memberShape-001.ttl">memberShape-001.ttl</a>.
@@ -4902,12 +4902,12 @@ <h4>sh:uniqueMembers</h4>
4902
4902
Let <code>$uniqueMembers</code> be a <a>parameter value</a> for <code>sh:uniqueMembers</code>.
4903
4903
Each <a>value node</a><code>v</code> must be a <ahref="#syntax-rule-SHACL-list">SHACL list</a> - if <code>v</code> is not a SHACL list there is a <a>validation result</a>.
4904
4904
If <code>$uniqueMembers</code> is <code>true</code> and the list <code>v</code> has duplicate members,
4905
-
there is a <a>validation result</a>. There must be at most one <a>validation result</a> for each list <code>v</code>.
4905
+
there is a <a>validation result</a>.
4906
4906
</div>
4907
4907
</div>
4908
4908
<p><em>The remainder of this section is informative.</em></p>
4909
4909
<p>
4910
-
Each duplicate member <code>m</code> of a list <code>v</code> should be reported as a separate <code>sh:detail</code> in the <a>validation result</a> for <code>v</code>. If the list <code>v</code> is not a valid <ahref="#syntax-rule-SHACL-list">SHACL list</a>, this should also be reported as a <code>sh:detail</code> in the <a>validation result</a>for <code>v</code>.
4910
+
Each duplicate member <code>m</code> of a list <code>v</code> should be reported as a separate <code>sh:detail</code> in the <a>validation result</a> for <code>v</code>. If the list <code>v</code> is not a valid <ahref="#syntax-rule-SHACL-list">SHACL list</a>, this should be reported as a top-level <a>validation result</a>and validation of unique membership should not be attempted.
4911
4911
</p>
4912
4912
<p>
4913
4913
Examples of how to generate <code>sh:detail</code>s in validation results can be found in the test cases for <code>sh:uniqueMembers</code> in the SHACL test suite: <ahref="../shacl12-test-suite/tests/core/node/uniqueMembers-001.ttl">uniqueMembers-001.ttl</a>.
0 commit comments