Added new errors. ldpatch
authorAlexandre Bertails <bertails@gmail.com>
Thu, 20 Nov 2014 23:52:28 -0500
branchldpatch
changeset 896 1cfafcb13507
parent 895 9e83f2d8b056
child 897 b8f83a85dd5c
Added new errors.
ldpatch.html
--- a/ldpatch.html	Thu Nov 20 23:37:50 2014 -0500
+++ b/ldpatch.html	Thu Nov 20 23:52:28 2014 -0500
@@ -623,11 +623,16 @@
         </p>
 
         <ul>
-            <li id="bind-unique-match">If a <a>Bind</a> statement fails to match exactly one node, then a 422 (Unprocessable Entity) status MUST be returned.</li>
-            <li id="unicity-constraint-violated">If a <a>Unicity constraint</a> is violated, then a 422 (Unprocessable Entity) status MUST be returned.</li>
-            <li id="cut-nothing">If a <a>Cut</a> operation fails to remove any triple, then a 422 (Unprocessable Entity) status MUST be returned.</li>
-            <li id="delete-non-existing-triple">If a <a>Delete</a> attempts to remove a non-existing triple, then a 422 (Unprocessable Entity) status MUST be returned.</li>
-            <li id="updatelist-non-list-argument">If the <a class="internalDFN" href="#grammar-production-subject">subject</a> and <a class="internalDFN" href="#grammar-production-predicate">predicate</a> provided to a <a>UpdateList</a> operation fail to match a collection, then a 422 (Unprocessable Entity) status MUST be returned.</li>
+            <li id="bind-unique-match">If a <a>Bind</a> statement fails to match exactly one node, then a HTTP 422 (Unprocessable Entity) error status code MUST be returned.</li>
+            <li id="unicity-constraint-violated">If a <a>Unicity constraint</a> is violated, then a HTTP 422 (Unprocessable Entity) error status code MUST be returned.</li>
+            <li id="cut-nothing">If a <a>Cut</a> operation fails to remove any triple, then a HTTP 422 (Unprocessable Entity) error status code MUST be returned.</li>
+            <li id="delete-non-existing-triple">If a <a>Delete</a> attempts to remove a non-existing triple, then a HTTP 422 (Unprocessable Entity) error status code MUST be returned.</li>
+            <li id="updatelist-non-list-argument">If the <a class="internalDFN" href="#grammar-production-subject">subject</a> and <a class="internalDFN" href="#grammar-production-predicate">predicate</a> provided to a <a>UpdateList</a> operation fail to match a collection, then a HTTP 422 (Unprocessable Entity) error status code MUST be returned.</li>
+            <li id="wrong-order-for-indexes">If the indexes in a <a>Slice</a> are in the wrong order (e.g. <code>2868..42</code>), then the parsing fails and a 400 (Bad Request) error status code MUST be returned.</li>
+            <li id="wrong-index">If an index in a <a>Slice</a> has no corresponding element in an <code>rdf:List</code>, then a 422 (Unprocessable Entity) error status code MUST be returned.</li>
+            <li id="unknown-prefix">If a prefix name (<a class="internalDFN" href="#grammar-production-PNAME_NS">PNAME_NS</a>) is used without being previously declared, then the parsing fails and a 400 (Bad Request) error status code MUST be returned.</li>
+            <li id="unknown-variable">If a <a>var</a>iable is used without being previously bound, then the parsing fails and a 400 (Bad Request) error status code MUST be returned.</li>
+
         </ul>
 
         <p>