Incorporate markus' feedback to testcases document.
authorGregg Kellogg <gregg@kellogg-assoc.com>
Sat, 04 Jan 2014 13:07:51 -0800
changeset 1744 67bc97dd19c2
parent 1743 be382b8eaf3c
child 1745 c8010261b2d5
Incorporate markus' feedback to testcases document.
rdf11-testcases/index.html
--- a/rdf11-testcases/index.html	Sat Jan 04 12:54:00 2014 -0800
+++ b/rdf11-testcases/index.html	Sat Jan 04 13:07:51 2014 -0800
@@ -99,6 +99,29 @@
   </section>
 
   <section>
+    <h2>Test Suites and Implementation Reports</h2>
+    <p>The following are links to the syntax and semantics test suites and
+      implementation reports:</p>
+
+    <ul>
+      <li><strong>RDF 1.1 Semantics</strong> [[RDF11-MT]]<br/>
+        <a href="http://www.w3.org/2013/rdf-mt-tests/">http://www.w3.org/2013/rdf-mt-tests/</a>
+        (<a href="https://dvcs.w3.org/hg/rdf/raw-file/default/rdf-mt/reports/index.html">Implementation Report</a>)
+      </li>
+      <li><strong>RDF 1.1 Turtle</strong> [[TURTLE]]<br/>
+        <a href="http://www.w3.org/2013/TurtleTests/">http://www.w3.org/2013/TurtleTests/</a></li>
+      <li><strong>RDF 1.1 TriG</strong> [[TRIG]]<br/>
+        <a href="http://www.w3.org/2013/TrigTests/">http://www.w3.org/2013/TrigTests/</a></li>
+      <li><strong>RDF 1.1 N-Triples</strong> [[N-TRIPLES]]<br/>
+        <a href="http://www.w3.org/2013/N-TriplesTests/">http://www.w3.org/2013/N-TriplesTests/</a></li>
+      <li><strong>RDF 1.1 N-Quads</strong> [[N-QUADS]]<br/>
+        <a href="http://www.w3.org/2013/N-QuadsTests/">http://www.w3.org/2013/N-QuadsTests/</a></li>
+      <li><strong>JSON-LD 1.0</strong> [[JSON-LD]]/[[JSON-LD-API]]<br/>
+        <a href="http://www.w3.org/2013/json-ld-tests/">http://www.w3.org/2013/json-ld-tests/</a></li>
+    </ul>
+  </section>
+
+  <section>
     <h2>General instructions for running RDF Test suites</h2>
     <p>All test suites have a common test manifest representation using test vocabularies
       similar to the SPARQL 1.1 Test case structure [[SPARQL11-TEST-CASE]]. Test manifests
@@ -106,8 +129,8 @@
       are represented using [[JSON-LD]]. (Detailed information on the JSON-LD Test Suite
       is at [[JSON-LD-TESTS]]). The Manifest has a header, and lists one
       or more test entries such as the following:</p>
-    <pre class="example" title="Manifest header"><script type="text/turtle">&lt;&gt;  rdf:type mf:Manifest ;
-   rdfs:comment &quot;Turtle tests&quot; ;
+    <pre class="example" title="Manifest header"><script type="text/turtle"><>  rdf:type mf:Manifest ;
+   rdfs:comment "Turtle tests" ;
    mf:entries
    (
    ....
@@ -126,12 +149,12 @@
         to determine if a processor correctly recognizes valid or invalid serializations.
         Positive Syntax Tests include a <em>name</em>, optional <em>comment</em>, and <em>action</em> along
         with a type which identifies them as being a Syntax Test for the appropriate
-        serialization format. An example Turtle Syntax test is the following:</p>
+        serialization format. An example Turtle Syntax test definition is the following:</p>
 
-      <pre class="example" title="Syntax test"><script type="text/turtle">&lt;#turtle-syntax-file-01&gt; rdf:type rdft:TestTurtlePositiveSyntax ;
-   mf:name    &quot;turtle-syntax-file-01&quot; ;
-   rdfs:comment &quot;Empty file&quot; ;
-   mf:action    &lt;turtle-syntax-file-01.ttl&gt; ;
+      <pre class="example" title="Syntax test"><script type="text/turtle"><#turtle-syntax-file-01> rdf:type rdft:TestTurtlePositiveSyntax ;
+   mf:name    "turtle-syntax-file-01" ;
+   rdfs:comment "Empty file" ;
+   mf:action    <turtle-syntax-file-01.ttl> ;
    .</script></pre>
 
      <p>Class names vary by serialization format and include the following:</p>
@@ -147,9 +170,9 @@
      </dl>
 
      <p>A positive test is passed if an implementation can parse the content at the URL identified
-       by the object of the <code>mf:action</code> property using rules for the the appropriate syntax.</p>
+       by the object of the <code>mf:action</code> properly using rules for the the appropriate syntax.</p>
      <p>A negative test is passed if an implementation raises an error when it parses
-        content at the URL identified by the object of the <code>mf:action</code> property using rules for the appropriate syntax.</p>
+        content at the URL identified by the object of the <code>mf:action</code> properly using rules for the appropriate syntax.</p>
    </section>
    <section>
      <h3>Evaluation Tests</h3>
@@ -157,13 +180,13 @@
        to determine if a processor correctly evaluates serializations.
        Positive Evaluation Tests include a <em>name</em>, optional <em>comment</em>, <em>action</em>, and <em>result</em> along
        with a type which identifies them as being an Evaluation Test for the appropriate
-       serialization format. An example Turtle Evaluation test is the following:</p>
+       serialization format. An example Turtle Evaluation test definition is the following:</p>
 
-     <pre class="example" title="Evaluation test"><script type="text/turtle">&lt;#IRI_subject&gt; rdf:type rdft:TestTurtleEval ;
-   mf:name      &quot;IRI_subject&quot; ;
-   rdfs:comment &quot;IRI subject&quot; ;
-   mf:action    &lt;IRI_subject.ttl&gt; ;
-   mf:result    &lt;IRI_spo.nt&gt; ;
+     <pre class="example" title="Evaluation test"><script type="text/turtle"><#IRI_subject> rdf:type rdft:TestTurtleEval ;
+   mf:name      "IRI_subject" ;
+   rdfs:comment "IRI subject" ;
+   mf:action    <IRI_subject.ttl> ;
+   mf:result    <IRI_spo.nt> ;
    .</script></pre>
 
      <p>Class names vary by serialization format and include the following:</p>
@@ -177,14 +200,14 @@
      <p>A positive test is passed if an implementation parses the input
        (identified by the object of the <code>mf:action</code> property) using the
        appropriate syntax into a graph
-       or dataset, parses the expceted result
+       or dataset, parses the expected result
        (identified by the object of the <code>mf:result</code> property)
        into another graph or dataset, and those two graphs/datasets are
        <a href="http://www.w3.org/TR/rdf11-concepts/#graph-isomorphism">isomorphic</a> (see [[RDF11-CONCEPTS]]).</p>
        <p>A negative test is passed if an implementation parses the input
          (identified by the object of the <code>mf:action</code> property) using the
          appropriate syntax into a graph
-         or dataset, parses the expceted result
+         or dataset, parses the expected result
          (identified by the object of the <code>mf:result</code> property)
          into another graph or dataset, and those two graphs/datasets are _not_
          <a href="http://www.w3.org/TR/rdf11-concepts/#graph-isomorphism">isomorphic</a> (see [[RDF11-CONCEPTS]]).</p>
@@ -241,29 +264,6 @@
 
     </section>
   </section>
-
-  <section>
-    <h2>Test Suites and Implementation Reports</h2>
-    <p>The following are links to the syntax and semantics test suites and
-      implementation reports:</p>
-
-    <ul>
-      <li><strong>RDF 1.1 Semantics</strong> [[RDF11-MT]]<br/>
-        <a href="http://www.w3.org/2013/rdf-mt-tests/">http://www.w3.org/2013/rdf-mt-tests/</a>
-        (<a href="https://dvcs.w3.org/hg/rdf/raw-file/default/rdf-mt/reports/index.html">Implementation Report</a>)
-      </li>
-      <li><strong>RDF 1.1 Turtle</strong> [[TURTLE]]<br/>
-        <a href="http://www.w3.org/2013/TurtleTests/">http://www.w3.org/2013/TurtleTests/</a></li>
-      <li><strong>RDF 1.1 TriG</strong> [[TRIG]]<br/>
-        <a href="http://www.w3.org/2013/TrigTests/">http://www.w3.org/2013/TrigTests/</a></li>
-      <li><strong>RDF 1.1 N-Triples</strong> [[N-TRIPLES]]<br/>
-        <a href="http://www.w3.org/2013/N-TriplesTests/">http://www.w3.org/2013/N-TriplesTests/</a></li>
-      <li><strong>RDF 1.1 N-Quads</strong> [[N-QUADS]]<br/>
-        <a href="http://www.w3.org/2013/N-QuadsTests/">http://www.w3.org/2013/N-QuadsTests/</a></li>
-      <li><strong>JSON-LD 1.0</strong> [[JSON-LD]]/[[JSON-LD-API]]<br/>
-        <a href="http://www.w3.org/2013/json-ld-tests/">http://www.w3.org/2013/json-ld-tests/</a></li>
-    </ul>
-  </section>
 </body>
 </html>