--- a/Test Cases/LDP Test Cases.html Sat Apr 27 11:24:36 2013 -0400
+++ b/Test Cases/LDP Test Cases.html Tue Apr 30 16:46:56 2013 +0200
@@ -1,11 +1,14 @@
<?xml version='1.0' encoding='UTF-8'?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd"><html
- xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.1.dtd">
+<html
+ xmlns="http://www.w3.org/1999/xhtml"
+prefix="td: http://www.w3.org/2006/03/test-description# tn: http://ldp.example.org/NewTestDefinitions# ht: http://www.w3.org/2011/http#">
<head>
+ <base href="http://www.w3.org/TR/ldp/TestCases" />
<meta content="text/html; charset=utf-8" http-equiv="content-type" />
<title>LDP Test Cases</title>
<link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"
- charset="utf-8" />
+ charset="utf-8" />
</head>
<body>
<p> <a href="http://www.w3.org/"><img src="http://www.w3.org/Icons/w3c_home"
@@ -41,7 +44,7 @@
</ul>
<p><a href="#Feedback">Feedback to recommendation</a></p>
<p><a href="#EditorNotes">Editor TODOs and notes</a></p>
- <hr />
+ <hr/>
<h2>Introduction</h2>
<p>This document describes...</p>
<h2>Design issues </h2>
@@ -87,50 +90,68 @@
party.</p>
<h2><a id="Tests-LDPRs"></a>Tests for LDPRs</h2>
<p>These tests involve only LDPRs.</p>
- <h3><a id="TC-R1">TC-R1. GET on an LDPR</a></h3>
- <h4>Related specification</h4>
- <p><em><a target="_blank" href="http://www.w3.org/TR/ldp/">Linked Data
- Platform 1.0</a>:</em></p>
- <ul>
- <li>4.1.12 LDPR server responses MUST use entity tags (either weak or
- strong ones) as response ETag header values. </li>
- <li>4.2.1 LDPR servers MUST support the HTTP GET Method for LDPRs. </li>
- <li>4.2.2 LDPR servers MUST provide a text/turtle representation of the
- requested LDPR. </li>
- </ul>
- <h4>Input</h4>
- <ul>
- <li> <em><LDPR URI></em>. The URI of an LDPR. </li>
- </ul>
- <h4>Preconditions</h4>
- <ul>
- <li>The LDP server contains an LDPR at <LDPR URI></li>
- </ul>
- <h4>Process</h4>
- <ol>
- <li>GET <LDPR URI>
- <ul>
- <li>[request-header].Accept = text/turtle</li>
- </ul>
- </li>
- </ol>
- <h4>Output</h4>
- <ul>
- <li> <em> <Response 1 GET></em></li>
- </ul>
- <h4>Expected result</h4>
- <ul>
- <li>Assert <Response 1 GET> (GET correct): </li>
- <li>
- <ul>
- <li>[Status-Line].Status-Code = 2xx</li>
- <li>[response-header].ETag exists</li>
- <li>[entity-header].Content-Type = text/turtle</li>
- </ul>
- </li>
- </ul>
- <hr />
+ <div resource="#TCR1" typeof="td:TestCase">
+ <h3><a id="TC-R1"><span property="rdfs:label">TC-R1</span>. <span property="dc:title">GET on an LDPR</span></a></h3>
+ <p property="dc:description">Tests making a GET request on an existing LDPR.</p>
+ <p property="dc:contributor" resource="#RaulGarciaCastro" typeof="foaf:Person"><strong>Contributor: </strong>
+ <span property="rdfs:label">Raúl García-Castro</span>
+ <span property="owl:sameAs" href="http://delicias.dia.fi.upm.es/~rgarcia/#me"/></p>
+ <p property="td:reviewStatus" resource="td:unreviewed" typeof="td:ReviewStatus"><strong>Status: </strong>Unreviewed
+ </p>
+ <h4>Related specification</h4>
+ <p><em><a target="_blank" href="http://www.w3.org/TR/ldp/" property="rdfs:seeAlso">Linked Data
+ Platform 1.0</a>:</em></p>
+ <ul>
+ <li property="td:specificationReference" typeof="tn:Excerpt"><div><span property="tn:includesText">4.1.12 LDPR server responses MUST use entity tags (either weak or strong ones) as response ETag header values.</span><span property="rdfs:seeAlso" href="http://www.w3.org/TR/ldp/"/></div></li>
+ <li property="td:specificationReference" typeof="tn:Excerpt"><div><span property="tn:includesText">4.2.1 LDPR servers MUST support the HTTP GET Method for LDPRs.</span><span property="rdfs:seeAlso" href="http://www.w3.org/TR/ldp/"/></div></li>
+ <li property="td:specificationReference" typeof="tn:Excerpt"><div><span property="tn:includesText">4.2.2 LDPR servers MUST provide a text/turtle representation of the requested LDPR.</span><span property="rdfs:seeAlso" href="http://www.w3.org/TR/ldp/"/></div></li>
+ </ul>
+ <h4>Input</h4>
+ <ul>
+ <li property="td:input" resource="#TCR1-I1-LDPR-URI" typeof="tn:TestInput"><em property="dc:title"><LDPR URI></em>. <span property="dc:description">The URI of an LDPR.</span></li>
+ </ul>
+ <h4>Preconditions</h4>
+ <ul>
+ <li property="td:precondition">The LDP server contains an LDPR at <LDPR URI></li>
+ </ul>
+ <h4>Process</h4>
+ <ol>
+ <li inlist="" property="tn:testProcess" resource="#TCR1-RQ1-GET-LDPR-URI" typeof="ht:Request">
+ <div property="dc:description">
+ GET <LDPR URI>
+ <ul>
+ <li>[request-header].Accept = text/turtle</li>
+ </ul>
+ </div>
+ <span property="tn:usesInput" resource="#TCR1-I1-LDPR-URI" />
+ </li>
+ </ol>
+ <h4>Output</h4>
+ <ul>
+ <li property="td:output" resource="#TCR1-RP1-Response-1-GET" typeof="tn:TestOutput ht:Response"> <em property="dc:title"><Response 1 GET></em>.
+ <span property="dc:description">The response of the GET request in step 1.</span>
+ <span property="tn:fromRequest" resource="#TCR1-RQ1-GET-LDPR-URI" />
+ </li>
+ </ul>
+ <h4>Assertions</h4>
+ <ul>
+ <li property="tn:testAssertion" resource="#TCR1-A1-Response-1-GET" typeof="tn:TestAssertion"><span property="tn:resultAsserted" resource="TCR1-O1-Response-1-GET"/>Assert <Response 1 GET> (<span property="dc:title">GET correct</span>):
+ <ul property="dc:description">
+ <li>[Status-Line].Status-Code = 2xx</li>
+ <li>[response-header].ETag exists</li>
+ <li>[entity-header].Content-Type = text/turtle</li>
+ </ul>
+ </li>
+ </ul>
+ </div>
+ <hr/>
+ <div resource="#TCR2" typeof="td:TestCase">
<h3><a id="TC-R2">TC-R2. GET on an LDPR without content type</a></h3>
+ <p property="dc:contributor" resource="#RaulGarciaCastro" typeof="foaf:Person"><strong>Contributor: </strong>
+ <span property="rdfs:label">Raúl García-Castro</span>
+ <span property="owl:sameAs" href="http://delicias.dia.fi.upm.es/~rgarcia/#me"/></p>
+ <p property="td:reviewStatus" resource="td:unreviewed" typeof="td:ReviewStatus"><strong>Status: </strong>Unreviewed
+ </p>
<h4>Related specification</h4>
<p><em><em><a target="_blank" href="http://www.w3.org/TR/ldp/">Linked Data
Platform 1.0</a></em>:</em></p>
@@ -154,10 +175,9 @@
<ul>
<li> <em> <Response 1 GET></em></li>
</ul>
- <h4>Expected result</h4>
+ <h4>Assertions</h4>
<ul>
- <li>Assert <Response 1 GET> (GET correct): </li>
- <li>
+ <li>Assert <Response 1 GET> (GET correct):
<ul>
<li>[Status-Line].Status-Code = 2xx</li>
<li>[response-header].ETag exists</li>
@@ -165,8 +185,15 @@
</ul>
</li>
</ul>
- <hr />
+ </div>
+ <hr/>
+ <div resource="#TCR3" typeof="td:TestCase">
<h3><a id="TC-R3">TC-R3. GET on a non-existing LDPR</a></h3>
+ <p property="dc:contributor" resource="#RaulGarciaCastro" typeof="foaf:Person"><strong>Contributor: </strong>
+ <span property="rdfs:label">Raúl García-Castro</span>
+ <span property="owl:sameAs" href="http://delicias.dia.fi.upm.es/~rgarcia/#me"/></p>
+ <p property="td:reviewStatus" resource="td:unreviewed" typeof="td:ReviewStatus"><strong>Status: </strong>Unreviewed
+ </p>
<h4>Related specification</h4>
<p><em><em><a target="_blank" href="http://www.w3.org/TR/ldp/">Linked Data
Platform 1.0</a></em>:</em></p>
@@ -196,17 +223,23 @@
<ul>
<li> <em> <Response 1 GET></em></li>
</ul>
- <h4>Expected result</h4>
+ <h4>Assertions</h4>
<ul>
- <li>Assert <Response 1 GET> (GET incorrect): </li>
- <li>
+ <li>Assert <Response 1 GET> (GET incorrect):
<ul>
<li>[Status-Line].Status-Code = 404 or 410</li>
</ul>
</li>
</ul>
- <hr />
+ </div>
+ <hr/>
+ <div resource="#TCR4" typeof="td:TestCase">
<h3><a id="TC-R4">TC-R4. PUT on an LDPR</a></h3>
+ <p property="dc:contributor" resource="#RaulGarciaCastro" typeof="foaf:Person"><strong>Contributor: </strong>
+ <span property="rdfs:label">Raúl García-Castro</span>
+ <span property="owl:sameAs" href="http://delicias.dia.fi.upm.es/~rgarcia/#me"/></p>
+ <p property="td:reviewStatus" resource="td:unreviewed" typeof="td:ReviewStatus"><strong>Status: </strong>Unreviewed
+ </p>
<h4>Related specification</h4>
<p><em><a target="_blank" href="http://tools.ietf.org/html/rfc2616">Hypertext
Transfer Protocol -- HTTP/1.1</a>:</em></p>
@@ -253,7 +286,7 @@
<li> <em> <Response 2 PUT></em></li>
<li> <em> <Response 3 GET></em></li>
</ul>
- <h4>Expected result</h4>
+ <h4>Assertions</h4>
<ul>
<li>Assert <Response 1 GET> (GET correct):
<ul>
@@ -281,8 +314,15 @@
</ul>
</li>
</ul>
- <hr />
+ </div>
+ <hr/>
+ <div resource="#TCR5" typeof="td:TestCase">
<h3><a id="TC-R5">TC-R5. PUT on an LDPR without matching ETags</a></h3>
+ <p property="dc:contributor" resource="#RaulGarciaCastro" typeof="foaf:Person"><strong>Contributor: </strong>
+ <span property="rdfs:label">Raúl García-Castro</span>
+ <span property="owl:sameAs" href="http://delicias.dia.fi.upm.es/~rgarcia/#me"/></p>
+ <p property="td:reviewStatus" resource="td:unreviewed" typeof="td:ReviewStatus"><strong>Status: </strong>Unreviewed
+ </p>
<h4>Related specification</h4>
<p><em><em><a target="_blank" href="http://www.w3.org/TR/ldp/">Linked Data
Platform 1.0</a></em>:</em></p>
@@ -322,7 +362,7 @@
<li> <em> <Response 1 GET></em></li>
<li> <em> <Response 2 PUT></em></li>
</ul>
- <h4>Expected result</h4>
+ <h4>Assertions</h4>
<ul>
<li>Assert <Response 1 GET> (GET correct):
<ul>
@@ -337,8 +377,15 @@
</ul>
</li>
</ul>
- <hr />
+ </div>
+ <hr/>
+ <div resource="#TCR6" typeof="td:TestCase">
<h3><a id="TC-R6">TC-R6. DELETE on an LDPR</a></h3>
+ <p property="dc:contributor" resource="#RaulGarciaCastro" typeof="foaf:Person"><strong>Contributor: </strong>
+ <span property="rdfs:label">Raúl García-Castro</span>
+ <span property="owl:sameAs" href="http://delicias.dia.fi.upm.es/~rgarcia/#me"/></p>
+ <p property="td:reviewStatus" resource="td:unreviewed" typeof="td:ReviewStatus"><strong>Status: </strong>Unreviewed
+ </p>
<h4>Related specification</h4>
<p><em><em><a target="_blank" href="http://www.w3.org/TR/ldp/">Linked Data
Platform 1.0</a></em>:</em></p>
@@ -371,11 +418,10 @@
<li> <em> <Response 1 DELETE></em></li>
<li> <em> <Response 2 GET></em></li>
</ul>
- <h4>Expected result</h4>
+ <h4>Assertions</h4>
<ul>
<li>Assert <Response 1 DELETE> <Response 2 GET> (DELETE
- correct): </li>
- <li>
+ correct):
<ul>
<li><Response 1 DELETE>.[Status-Line].Status-Code = 200 or 204
and <Response 2 GET>.[Status-Line].Status-Code = 404 or 410<strong>
@@ -386,8 +432,15 @@
</ul>
</li>
</ul>
- <hr />
+ </div>
+ <hr/>
+ <div resource="#TCR7" typeof="td:TestCase">
<h3><a id="TC-R7">TC-R7. HEAD on an LDPR</a></h3>
+ <p property="dc:contributor" resource="#RaulGarciaCastro" typeof="foaf:Person"><strong>Contributor: </strong>
+ <span property="rdfs:label">Raúl García-Castro</span>
+ <span property="owl:sameAs" href="http://delicias.dia.fi.upm.es/~rgarcia/#me"/></p>
+ <p property="td:reviewStatus" resource="td:unreviewed" typeof="td:ReviewStatus"><strong>Status: </strong>Unreviewed
+ </p>
<h4>Related specification</h4>
<p><em><em><a target="_blank" href="http://www.w3.org/TR/ldp/">Linked Data
Platform 1.0</a></em>:</em></p>
@@ -419,10 +472,9 @@
<ul>
<li> <em> <Response 1 HEAD></em></li>
</ul>
- <h4>Expected result</h4>
+ <h4>Assertions</h4>
<ul>
- <li>Assert <Response 1 HEAD> (HEAD correct): </li>
- <li>
+ <li>Assert <Response 1 HEAD> (HEAD correct):
<ul>
<li>[Status-Line].Status-Code = 2xx<strong> </strong></li>
<li>[entity-header].Allow exists</li>
@@ -430,10 +482,17 @@
</ul>
</li>
</ul>
- <hr />
+ </div>
+ <hr/>
<h2><a id="Tests-LDPCs"></a>Tests for LDPCs</h2>
<p>These tests involve LDPCs and LDPRs.</p>
+ <div resource="#TCC1" typeof="td:TestCase">
<h3><a id="TC-C1">TC-C1. GET on an LDPC</a></h3>
+ <p property="dc:contributor" resource="#RaulGarciaCastro" typeof="foaf:Person"><strong>Contributor: </strong>
+ <span property="rdfs:label">Raúl García-Castro</span>
+ <span property="owl:sameAs" href="http://delicias.dia.fi.upm.es/~rgarcia/#me"/></p>
+ <p property="td:reviewStatus" resource="td:unreviewed" typeof="td:ReviewStatus"><strong>Status: </strong>Unreviewed
+ </p>
<h4>Related specification</h4>
<p><em><em><a target="_blank" href="http://www.w3.org/TR/ldp/">Linked Data
Platform 1.0</a></em>:</em></p>
@@ -466,25 +525,30 @@
<ul>
<li> <em> <Response 1 GET></em></li>
</ul>
- <h4>Expected result</h4>
+ <h4>Assertions</h4>
<ul>
- <li>Assert <Response 1 GET> (GET resource correct): </li>
- <li>
+ <li>Assert <Response 1 GET> (GET resource correct):
<ul>
<li>[Status-Line].Status-Code = 2xx</li>
<li>[response-header].ETag exists</li>
<li>[entity-header].Content-Type = text/turtle</li>
</ul>
</li>
- <li>Assert <Response 1 GET> (GET container correct):</li>
- <li>
+ <li>Assert <Response 1 GET> (GET container correct):
<ul>
<li>[message-body] contains rdf:type ldp:Container</li>
</ul>
</li>
</ul>
- <hr />
+ </div>
+ <hr/>
+ <div resource="#TCC2" typeof="td:TestCase">
<h3><a id="TC-C2">TC-C2. GET on an LDPC without content type</a></h3>
+ <p property="dc:contributor" resource="#RaulGarciaCastro" typeof="foaf:Person"><strong>Contributor: </strong>
+ <span property="rdfs:label">Raúl García-Castro</span>
+ <span property="owl:sameAs" href="http://delicias.dia.fi.upm.es/~rgarcia/#me"/></p>
+ <p property="td:reviewStatus" resource="td:unreviewed" typeof="td:ReviewStatus"><strong>Status: </strong>Unreviewed
+ </p>
<h4>Related specification</h4>
<p><em><em><a target="_blank" href="http://www.w3.org/TR/ldp/">Linked Data
Platform 1.0</a></em>:</em></p>
@@ -508,25 +572,30 @@
<ul>
<li> <em> <Response 1 GET></em></li>
</ul>
- <h4>Expected result</h4>
+ <h4>Assertions</h4>
<ul>
- <li>Assert <Response 1 GET> (GET resource correct): </li>
- <li>
+ <li>Assert <Response 1 GET> (GET resource correct):
<ul>
<li>[Status-Line].Status-Code = 2xx</li>
<li>[response-header].ETag exists</li>
<li>[entity-header].Content-Type = text/turtle</li>
</ul>
</li>
- <li>Assert <Response 1 GET> (GET container correct):</li>
- <li>
+ <li>Assert <Response 1 GET> (GET container correct):
<ul>
<li>[message-body] contains rdf:type ldp:Container</li>
</ul>
</li>
</ul>
- <hr />
+ </div>
+ <hr/>
+ <div resource="#TCC3" typeof="td:TestCase">
<h3><a id="TC-C3">TC-C3. GET on a non-existing LDPC</a></h3>
+ <p property="dc:contributor" resource="#RaulGarciaCastro" typeof="foaf:Person"><strong>Contributor: </strong>
+ <span property="rdfs:label">Raúl García-Castro</span>
+ <span property="owl:sameAs" href="http://delicias.dia.fi.upm.es/~rgarcia/#me"/></p>
+ <p property="td:reviewStatus" resource="td:unreviewed" typeof="td:ReviewStatus"><strong>Status: </strong>Unreviewed
+ </p>
<h4>Related specification</h4>
<p><em><em><a target="_blank" href="http://www.w3.org/TR/ldp/">Linked Data
Platform 1.0</a></em>:</em></p>
@@ -556,17 +625,23 @@
<ul>
<li> <em> <Response 1 GET></em></li>
</ul>
- <h4>Expected result</h4>
+ <h4>Assertions</h4>
<ul>
- <li>Assert <Response 1 GET> (GET incorrect): </li>
- <li>
+ <li>Assert <Response 1 GET> (GET incorrect):
<ul>
<li>[Status-Line].Status-Code = 404 or 410</li>
</ul>
</li>
</ul>
- <hr />
+ </div>
+ <hr/>
+ <div resource="#TCC4" typeof="td:TestCase">
<h3><a id="TC-C4">TC-C4. PUT on an LDPC</a></h3>
+ <p property="dc:contributor" resource="#RaulGarciaCastro" typeof="foaf:Person"><strong>Contributor: </strong>
+ <span property="rdfs:label">Raúl García-Castro</span>
+ <span property="owl:sameAs" href="http://delicias.dia.fi.upm.es/~rgarcia/#me"/></p>
+ <p property="td:reviewStatus" resource="td:unreviewed" typeof="td:ReviewStatus"><strong>Status: </strong>Unreviewed
+ </p>
<h4>Related specification</h4>
<p><em><a target="_blank" href="http://tools.ietf.org/html/rfc2616">Hypertext
Transfer Protocol -- HTTP/1.1</a>:</em></p>
@@ -613,7 +688,7 @@
<li> <em> <Response 2 PUT></em></li>
<li> <em> <Response 3 GET></em></li>
</ul>
- <h4>Expected result</h4>
+ <h4>Assertions</h4>
<ul>
<li>Assert <Response 1 GET> (GET resource correct):
<ul>
@@ -651,8 +726,15 @@
</ul>
</li>
</ul>
- <hr />
+ </div>
+ <hr/>
+ <div resource="#TCC5" typeof="td:TestCase">
<h3><a id="TC-C5">TC-C5. PUT on an LDPC without matching ETags</a></h3>
+ <p property="dc:contributor" resource="#RaulGarciaCastro" typeof="foaf:Person"><strong>Contributor: </strong>
+ <span property="rdfs:label">Raúl García-Castro</span>
+ <span property="owl:sameAs" href="http://delicias.dia.fi.upm.es/~rgarcia/#me"/></p>
+ <p property="td:reviewStatus" resource="td:unreviewed" typeof="td:ReviewStatus"><strong>Status: </strong>Unreviewed
+ </p>
<h4>Related specification</h4>
<p><em><em><a target="_blank" href="http://www.w3.org/TR/ldp/">Linked Data
Platform 1.0</a></em>:</em></p>
@@ -692,7 +774,7 @@
<li> <em> <Response 1 GET></em></li>
<li> <em> <Response 2 PUT></em></li>
</ul>
- <h4>Expected result</h4>
+ <h4>Assertions</h4>
<ul>
<li>Assert <Response 1 GET> (GET resource correct):
<ul>
@@ -712,8 +794,15 @@
</ul>
</li>
</ul>
- <hr />
+ </div>
+ <hr/>
+ <div resource="#TCC6" typeof="td:TestCase">
<h3><a id="TC-C6">TC-C6. DELETE on an LDPC</a></h3>
+ <p property="dc:contributor" resource="#RaulGarciaCastro" typeof="foaf:Person"><strong>Contributor: </strong>
+ <span property="rdfs:label">Raúl García-Castro</span>
+ <span property="owl:sameAs" href="http://delicias.dia.fi.upm.es/~rgarcia/#me"/></p>
+ <p property="td:reviewStatus" resource="td:unreviewed" typeof="td:ReviewStatus"><strong>Status: </strong>Unreviewed
+ </p>
<h4>Related specification</h4>
<p><em><em><a target="_blank" href="http://www.w3.org/TR/ldp/">Linked Data
Platform 1.0</a></em>:</em></p>
@@ -746,11 +835,10 @@
<li> <em> <Response 1 DELETE></em></li>
<li> <em> <Response 2 GET></em></li>
</ul>
- <h4>Expected result</h4>
+ <h4>Assertions</h4>
<ul>
<li>Assert <Response 1 DELETE> <Response 2 GET> (DELETE
- correct): </li>
- <li>
+ correct):
<ul>
<li><Response 1 DELETE>.[Status-Line].Status-Code = 200 or 204
and <Response 2 GET>.[Status-Line].Status-Code = 404 or 410<strong>
@@ -761,8 +849,15 @@
</ul>
</li>
</ul>
- <hr />
+ </div>
+ <hr/>
+ <div resource="#TCC7" typeof="td:TestCase">
<h3><a id="TC-C7">TC-C7. DELETE on an LDPR in an LDPC</a></h3>
+ <p property="dc:contributor" resource="#RaulGarciaCastro" typeof="foaf:Person"><strong>Contributor: </strong>
+ <span property="rdfs:label">Raúl García-Castro</span>
+ <span property="owl:sameAs" href="http://delicias.dia.fi.upm.es/~rgarcia/#me"/></p>
+ <p property="td:reviewStatus" resource="td:unreviewed" typeof="td:ReviewStatus"><strong>Status: </strong>Unreviewed
+ </p>
<h4>Related specification</h4>
<p><em><em><a target="_blank" href="http://www.w3.org/TR/ldp/">Linked Data
Platform 1.0</a></em>:</em></p>
@@ -808,7 +903,7 @@
<li> <em> <Response 2 GET></em></li>
<li> <em> <Response 3 GET></em></li>
</ul>
- <h4>Expected result</h4>
+ <h4>Assertions</h4>
<ul>
<li>Assert <Response 1 DELETE> <Response 2 GET> (DELETE
correct):
@@ -840,8 +935,15 @@
</ul>
</li>
</ul>
- <hr />
+ </div>
+ <hr/>
+ <div resource="#TCC8" typeof="td:TestCase">
<h3><a id="TC-C8">TC-C8. HEAD on an LDPC</a></h3>
+ <p property="dc:contributor" resource="#RaulGarciaCastro" typeof="foaf:Person"><strong>Contributor: </strong>
+ <span property="rdfs:label">Raúl García-Castro</span>
+ <span property="owl:sameAs" href="http://delicias.dia.fi.upm.es/~rgarcia/#me"/></p>
+ <p property="td:reviewStatus" resource="td:unreviewed" typeof="td:ReviewStatus"><strong>Status: </strong>Unreviewed
+ </p>
<h4>Related specification</h4>
<p><em><em><a target="_blank" href="http://www.w3.org/TR/ldp/">Linked Data
Platform 1.0</a></em>:</em></p>
@@ -873,10 +975,9 @@
<ul>
<li> <em> <Response 1 HEAD></em></li>
</ul>
- <h4>Expected result</h4>
+ <h4>Assertions</h4>
<ul>
- <li>Assert <Response 1 HEAD> (HEAD correct): </li>
- <li>
+ <li>Assert <Response 1 HEAD> (HEAD correct):
<ul>
<li>[Status-Line].Status-Code = 2xx<strong> </strong></li>
<li>[entity-header].Allow exists</li>
@@ -884,8 +985,15 @@
</ul>
</li>
</ul>
- <hr />
+ </div>
+ <hr/>
+ <div resource="#TCC9" typeof="td:TestCase">
<h3><a id="TC-C9">TC-C9. POST an LDPR on an LDPC</a></h3>
+ <p property="dc:contributor" resource="#RaulGarciaCastro" typeof="foaf:Person"><strong>Contributor: </strong>
+ <span property="rdfs:label">Raúl García-Castro</span>
+ <span property="owl:sameAs" href="http://delicias.dia.fi.upm.es/~rgarcia/#me"/></p>
+ <p property="td:reviewStatus" resource="td:unreviewed" typeof="td:ReviewStatus"><strong>Status: </strong>Unreviewed
+ </p>
<h4>Related specification</h4>
<p><em><em><a target="_blank" href="http://www.w3.org/TR/ldp/">Linked Data
Platform 1.0</a></em>:</em></p>
@@ -950,7 +1058,7 @@
<li> <em> <Response 3 GET></em></li>
<li> <em> <Response 4 GET></em></li>
</ul>
- <h4>Expected result</h4>
+ <h4>Assertions</h4>
<ul>
<li>Assert <Response 1 GET> (GET resource correct):
<ul>
@@ -1002,7 +1110,8 @@
</ul>
</li>
</ul>
- <hr />
+ </div>
+ <hr/>
<h2><a id="Feedback">Feedback to recommendation</a></h2>
<ul>
<li>LDP 1.0. 4.4.1 If HTTP PUT is performed on an existing resource, LDPR
@@ -1019,25 +1128,23 @@
properties in the client representation are ignored and the server
representation includes only server managed properties (i.e., the
specification does not restrict this).</li>
- <li>
- Miguel: Requiring the complete replacement of a resource state
- with the input representation included on the body of the PUT
- request implies that all the properties exposed for an LDPR can be
- freely modified by the client. <br />
- While this can be the case for vanilla LDP servers, which don’t
- take into account the contents of the resources, it does not hold
- for domain-dependent LDP servers that expose data for whom
- specific restrictions apply, i.e., certain properties are not
- under the control of the client. <br />
- At the same time, this MUST clause does not align with what is
- said in the next MAY clause on the same point, which asserts that
- LDP servers can ignore server managed properties. <br />
+ <li> Miguel: Requiring the complete replacement of a resource state
+ with the input representation included on the body of the PUT
+ request implies that all the properties exposed for an LDPR can be
+ freely modified by the client. <br/>
+ While this can be the case for vanilla LDP servers, which don’t take
+ into account the contents of the resources, it does not hold for
+ domain-dependent LDP servers that expose data for whom specific
+ restrictions apply, i.e., certain properties are not under the
+ control of the client. <br/>
+ At the same time, this MUST clause does not align with what is said
+ in the next MAY clause on the same point, which asserts that LDP
+ servers can ignore server managed properties. <br/>
My proposal would be to rewrite the clause making clear that only
- the part of the LDPR state that is under the control of the client
- will be updated with the contents of the representation, and that
- it is the responsibility of the LDP Server to define which parts
- of the representation are under its control.
- </li>
+ the part of the LDPR state that is under the control of the client
+ will be updated with the contents of the representation, and that it
+ is the responsibility of the LDP Server to define which parts of the
+ representation are under its control. </li>
</ul>
</li>
<li>LDP 1.0. 4.4.2 [...] LDPR servers MUST respond with status code 412
@@ -1070,24 +1177,23 @@
</li>
<li>LDP 1.0. 4.6.1 LDPR servers MUST support the HTTP HEAD method.
<ul>
- <li>Miguel: The HEAD method has been confused with the OPTIONS one.
- <br /> According to section 9.4 in the HTTP/1.1 specification, the HEAD
- method “is identical to GET except that the server MUST NOT return
- a message-body in the response. The metainformation contained in
- the HTTP headers in response to a HEAD request SHOULD be identical
- to the information sent in response to a GET request. This method
- can be used for obtaining metainformation about the entity implied
- by the request without transferring the entity-body itself. This
- method is often used for testing hypertext links for validity,
- accessibility, and recent modification”. <br />
- In contrast, according to section 9.2 of the same specification,
- the OPTIONS method “represents a request for information about the
- communication options available on the request/response chain
- identified by the Request-URI. This method allows the client to
- determine the options and/or requirements associated with a
- resource, or the capabilities of a server, without implying a
- resource action or initiating a resource retrieval”.
- </li>
+ <li>Miguel: The HEAD method has been confused with the OPTIONS one. <br/>
+ According to section 9.4 in the HTTP/1.1 specification, the HEAD
+ method “is identical to GET except that the server MUST NOT return a
+ message-body in the response. The metainformation contained in the
+ HTTP headers in response to a HEAD request SHOULD be identical to
+ the information sent in response to a GET request. This method can
+ be used for obtaining metainformation about the entity implied by
+ the request without transferring the entity-body itself. This method
+ is often used for testing hypertext links for validity,
+ accessibility, and recent modification”. <br/>
+ In contrast, according to section 9.2 of the same specification, the
+ OPTIONS method “represents a request for information about the
+ communication options available on the request/response chain
+ identified by the Request-URI. This method allows the client to
+ determine the options and/or requirements associated with a
+ resource, or the capabilities of a server, without implying a
+ resource action or initiating a resource retrieval”. </li>
<li>Miguel: Given the point before, point 4.6.2 should be also updated
accordingly.</li>
</ul>
@@ -1124,6 +1230,5 @@
<li>Include a section describing how to describe results</li>
<li>Format document as a specification</li>
</ul>
-
</body>
</html>