Update toRdf-0100 output to resolve relative IRIs against http://example/.
authorGregg Kellogg <gregg@kellogg-assoc.com>
Sun, 18 Aug 2013 13:13:33 -0700
changeset 1902 862d97be983b
parent 1901 1ca8a2426fd6
child 1903 7eefb008b945
Update toRdf-0100 output to resolve relative IRIs against http://example/.
Update the test-suite index page to indicate that toRdf results including relative IRIs must be resolved against http://example/.
test-suite/index.html
test-suite/tests/toRdf-0100-out.nq
--- a/test-suite/index.html	Sat Aug 17 18:29:33 2013 -0700
+++ b/test-suite/index.html	Sun Aug 18 13:13:33 2013 -0700
@@ -49,6 +49,9 @@
     ga('create', 'UA-42886053-1', 'json-ld.org');
     ga('send', 'pageview');
   </script>
+  <style>
+    li code {display: inline;}
+  </style>
 </head>
 <body onload="load_manifests();">
   <div class="navbar navbar-static-top">
@@ -121,7 +124,9 @@
           <li><em>normalize</em> tests have <em>input</em> and <em>expected</em> documents. The <em>expected</em> results
             can be compared using string comparison with the processor output.</li>
           <li><em>toRdf</em> tests have <em>input</em> and <em>expected</em> documents. The <em>expected</em> results
-            can be compared using string comparison with the processor output.</li>
+            can be compared using string comparison with the processor output.
+            Relative IRIs appearing in the <em>expected</em> result must be resolved against
+            <code>http://example/</code>.</li>
           <li><em>fromRdf</em> tests have <em>input</em> and <em>expected</em> documents. The <em>expected</em> results
             can be compared using JSON object comparison with the processor output.</li>
           </ul>
--- a/test-suite/tests/toRdf-0100-out.nq	Sat Aug 17 18:29:33 2013 -0700
+++ b/test-suite/tests/toRdf-0100-out.nq	Sun Aug 18 13:13:33 2013 -0700
@@ -1,7 +1,7 @@
-<../document-relative> <http://example.com/vocab#property> "@base is set to none" .
-<../document-relative> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <#document-relative> .
-<http://example.org/document-base-overwritten> <http://example.com/vocab#property> <../document-relative> .
+<http://example.org/document-base-overwritten> <http://example.com/vocab#property> <http://example/document-relative> .
 <http://example.org/document-base-overwritten> <http://example.com/vocab#property> <http://json-ld.org/test-suite/document-relative> .
 <http://example.org/document-base-overwritten> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/test/#document-base-overwritten> .
+<http://example/document-relative> <http://example.com/vocab#property> "@base is set to none" .
+<http://example/document-relative> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example/#document-relative> .
 <http://json-ld.org/test-suite/document-relative> <http://example.com/vocab#property> <http://example.org/document-base-overwritten> .
 <http://json-ld.org/test-suite/document-relative> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://json-ld.org/test-suite/tests/toRdf-0100-in.jsonld#document-relative> .