Added time and @datetime tests
authorGregg Kellogg <gregg@kellogg-assoc.com>
Tue, 11 Sep 2012 17:03:24 -0700
changeset 132 85f8875f154f
parent 131 e660ef819c53
child 133 133f8ea227b5
Added time and @datetime tests
microdata-rdf/tests/add-test.rb
microdata-rdf/tests/index.html
microdata-rdf/tests/manifest.jsonld
microdata-rdf/tests/manifest.ttl
--- a/microdata-rdf/tests/add-test.rb	Tue Sep 11 16:49:09 2012 -0700
+++ b/microdata-rdf/tests/add-test.rb	Tue Sep 11 17:03:24 2012 -0700
@@ -56,8 +56,8 @@
 query ||= "#{num_str}.ttl"
 
 # Create test files, if they don't exist
-File.open(data) unless File.exist?(data)
-File.open(query) unless File.exist?(query)
+File.open(data, "w") unless File.exist?(data)
+File.open(query, "w") unless File.exist?(query)
 
 # Add test
 output += %(
--- a/microdata-rdf/tests/index.html	Tue Sep 11 16:49:09 2012 -0700
+++ b/microdata-rdf/tests/index.html	Tue Sep 11 17:03:24 2012 -0700
@@ -1049,6 +1049,86 @@
 </div>
 <!-- End Test Description -->
 
+<!-- Start Test Description -->
+<div itemprop="entries"
+     itemscope="true"
+     itemtype="http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#ManifestEntry"
+     class="test-entry">
+  <span itemprop="name">Test 0046</span>:
+  <span itemprop="http://www.w3.org/2000/01/rdf-schema#comment"
+    >Use of time with @datetime xsd:time</span>
+  (
+  <span itemprop="action"
+        itemscope="true"
+        itemtype="http://www.w3.org/2001/sw/DataAccess/tests/test-query#QueryTest">
+    <a itemprop="data" href="0046.html">input</a> |
+    <a itemprop="query" href="0046.ttl">query</a>
+  </span>
+  <meta itemprop="result" content="true"/>
+  )
+</div>
+<!-- End Test Description -->
+
+<!-- Start Test Description -->
+<div itemprop="entries"
+     itemscope="true"
+     itemtype="http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#ManifestEntry"
+     class="test-entry">
+  <span itemprop="name">Test 0047</span>:
+  <span itemprop="http://www.w3.org/2000/01/rdf-schema#comment"
+    >Use of time with @datetime xsd:dateTime</span>
+  (
+  <span itemprop="action"
+        itemscope="true"
+        itemtype="http://www.w3.org/2001/sw/DataAccess/tests/test-query#QueryTest">
+    <a itemprop="data" href="0047.html">input</a> |
+    <a itemprop="query" href="0047.ttl">query</a>
+  </span>
+  <meta itemprop="result" content="true"/>
+  )
+</div>
+<!-- End Test Description -->
+
+<!-- Start Test Description -->
+<div itemprop="entries"
+     itemscope="true"
+     itemtype="http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#ManifestEntry"
+     class="test-entry">
+  <span itemprop="name">Test 0048</span>:
+  <span itemprop="http://www.w3.org/2000/01/rdf-schema#comment"
+    >Use of time with @datetime xsd:duration</span>
+  (
+  <span itemprop="action"
+        itemscope="true"
+        itemtype="http://www.w3.org/2001/sw/DataAccess/tests/test-query#QueryTest">
+    <a itemprop="data" href="0048.html">input</a> |
+    <a itemprop="query" href="0048.ttl">query</a>
+  </span>
+  <meta itemprop="result" content="true"/>
+  )
+</div>
+<!-- End Test Description -->
+
+<!-- Start Test Description -->
+<div itemprop="entries"
+     itemscope="true"
+     itemtype="http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#ManifestEntry"
+     class="test-entry">
+  <span itemprop="name">Test 0049</span>:
+  <span itemprop="http://www.w3.org/2000/01/rdf-schema#comment"
+    >Use of time with @datetime invalid</span>
+  (
+  <span itemprop="action"
+        itemscope="true"
+        itemtype="http://www.w3.org/2001/sw/DataAccess/tests/test-query#QueryTest">
+    <a itemprop="data" href="0049.html">input</a> |
+    <a itemprop="query" href="0049.ttl">query</a>
+  </span>
+  <meta itemprop="result" content="true"/>
+  )
+</div>
+<!-- End Test Description -->
+
 </section>
 
 <section id="negative-tests"
--- a/microdata-rdf/tests/manifest.jsonld	Tue Sep 11 16:49:09 2012 -0700
+++ b/microdata-rdf/tests/manifest.jsonld	Tue Sep 11 17:03:24 2012 -0700
@@ -27,15 +27,15 @@
   },
   "@graph": [
     {
-      "@id": "_:v2",
+      "@id": "_:w6",
       "@type": "mf:Manifest",
       "comment": "Positive processor tests",
       "entries": [
         {
-          "@id": "_:v3",
+          "@id": "_:w7",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:aa9",
+            "@id": "_:aa4",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/0001.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/0001.ttl"
@@ -45,10 +45,10 @@
           "result": "true"
         },
         {
-          "@id": "_:v4",
+          "@id": "_:w8",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:ab3",
+            "@id": "_:ab1",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/0002.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/0002.ttl"
@@ -58,10 +58,10 @@
           "result": "true"
         },
         {
-          "@id": "_:v5",
+          "@id": "_:w9",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:ab5",
+            "@id": "_:aa8",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/0003.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/0003.ttl"
@@ -71,10 +71,10 @@
           "result": "true"
         },
         {
-          "@id": "_:v6",
+          "@id": "_:x0",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:ab8",
+            "@id": "_:ab3",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/0004.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/0004.ttl"
@@ -84,10 +84,10 @@
           "result": "true"
         },
         {
-          "@id": "_:u0",
+          "@id": "_:x1",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:u1",
+            "@id": "_:t9",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/0005.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/0005.ttl"
@@ -97,10 +97,10 @@
           "result": "true"
         },
         {
-          "@id": "_:t4",
+          "@id": "_:u2",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:t5",
+            "@id": "_:u3",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/0006.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/0006.ttl"
@@ -110,10 +110,10 @@
           "result": "true"
         },
         {
-          "@id": "_:u4",
+          "@id": "_:u8",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:u5",
+            "@id": "_:u9",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/0007.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/0007.ttl"
@@ -123,10 +123,10 @@
           "result": "true"
         },
         {
-          "@id": "_:v7",
+          "@id": "_:v6",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:ab9",
+            "@id": "_:v7",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/0008.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/0008.ttl"
@@ -136,10 +136,10 @@
           "result": "true"
         },
         {
-          "@id": "_:v8",
+          "@id": "_:w4",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:y8",
+            "@id": "_:w5",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/0009.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/0009.ttl"
@@ -149,10 +149,10 @@
           "result": "true"
         },
         {
-          "@id": "_:v9",
+          "@id": "_:x2",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:z2",
+            "@id": "_:ab5",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/0010.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/0010.ttl"
@@ -162,10 +162,10 @@
           "result": "true"
         },
         {
-          "@id": "_:w0",
+          "@id": "_:x3",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:z6",
+            "@id": "_:ab9",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/0011.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/0011.ttl"
@@ -175,10 +175,10 @@
           "result": "true"
         },
         {
-          "@id": "_:w1",
+          "@id": "_:x4",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:z9",
+            "@id": "_:ac0",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/0012.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/0012.ttl"
@@ -188,10 +188,10 @@
           "result": "true"
         },
         {
-          "@id": "_:w2",
+          "@id": "_:x5",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:aa2",
+            "@id": "_:ac4",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/0013.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/0013.ttl"
@@ -201,10 +201,10 @@
           "result": "true"
         },
         {
-          "@id": "_:w3",
+          "@id": "_:x6",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:aa5",
+            "@id": "_:ac8",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/0014.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/0014.ttl"
@@ -214,10 +214,10 @@
           "result": "true"
         },
         {
-          "@id": "_:w4",
+          "@id": "_:x7",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:aa1",
+            "@id": "_:ac5",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/0015.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/0015.ttl"
@@ -227,10 +227,10 @@
           "result": "true"
         },
         {
-          "@id": "_:w5",
+          "@id": "_:x8",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:z7",
+            "@id": "_:ac2",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_1.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_1.ttl"
@@ -241,10 +241,10 @@
           "result": "true"
         },
         {
-          "@id": "_:w6",
+          "@id": "_:x9",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:z3",
+            "@id": "_:ab7",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_2.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_2.ttl"
@@ -255,10 +255,10 @@
           "result": "true"
         },
         {
-          "@id": "_:w7",
+          "@id": "_:y0",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:z0",
+            "@id": "_:aa0",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_3.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_3.ttl"
@@ -269,10 +269,10 @@
           "result": "true"
         },
         {
-          "@id": "_:v0",
+          "@id": "_:w3",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:v1",
+            "@id": "_:w0",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_4.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_4.ttl"
@@ -283,10 +283,10 @@
           "result": "true"
         },
         {
-          "@id": "_:u9",
+          "@id": "_:v5",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:u7",
+            "@id": "_:v2",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_5.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_5.ttl"
@@ -297,10 +297,10 @@
           "result": "true"
         },
         {
-          "@id": "_:u3",
+          "@id": "_:u7",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:t6",
+            "@id": "_:u4",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_6.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_6.ttl"
@@ -311,10 +311,10 @@
           "result": "true"
         },
         {
-          "@id": "_:w8",
+          "@id": "_:t7",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:u2",
+            "@id": "_:t8",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_7.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_7.ttl"
@@ -325,10 +325,10 @@
           "result": "true"
         },
         {
-          "@id": "_:w9",
+          "@id": "_:y1",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:ab7",
+            "@id": "_:ab0",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_8.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_8.ttl"
@@ -339,10 +339,10 @@
           "result": "true"
         },
         {
-          "@id": "_:x0",
+          "@id": "_:y2",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:ab4",
+            "@id": "_:aa7",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_9.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_9.ttl"
@@ -353,10 +353,10 @@
           "result": "true"
         },
         {
-          "@id": "_:x1",
+          "@id": "_:y3",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:ab1",
+            "@id": "_:aa6",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_10.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_10.ttl"
@@ -367,10 +367,10 @@
           "result": "true"
         },
         {
-          "@id": "_:t1",
+          "@id": "_:y4",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:t2",
+            "@id": "_:aa3",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_11.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_11.ttl"
@@ -381,10 +381,10 @@
           "result": "true"
         },
         {
-          "@id": "_:x2",
+          "@id": "_:t3",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:aa8",
+            "@id": "_:t2",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_12.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_12.ttl"
@@ -395,10 +395,10 @@
           "result": "true"
         },
         {
-          "@id": "_:x3",
+          "@id": "_:t0",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:t0",
+            "@id": "_:t1",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_13.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_13.ttl"
@@ -409,10 +409,10 @@
           "result": "true"
         },
         {
-          "@id": "_:x4",
+          "@id": "_:y5",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:aa3",
+            "@id": "_:ac6",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_14.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_14.ttl"
@@ -423,10 +423,10 @@
           "result": "true"
         },
         {
-          "@id": "_:x5",
+          "@id": "_:y6",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:z8",
+            "@id": "_:ac1",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_15.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_15.ttl"
@@ -437,10 +437,10 @@
           "result": "true"
         },
         {
-          "@id": "_:x6",
+          "@id": "_:y7",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:z4",
+            "@id": "_:ab6",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_16.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_16.ttl"
@@ -451,10 +451,10 @@
           "result": "true"
         },
         {
-          "@id": "_:x7",
+          "@id": "_:y8",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:y9",
+            "@id": "_:z9",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_17.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_17.ttl"
@@ -465,10 +465,10 @@
           "result": "true"
         },
         {
-          "@id": "_:x8",
+          "@id": "_:w1",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:ac0",
+            "@id": "_:v8",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_18.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_18.ttl"
@@ -479,10 +479,10 @@
           "result": "true"
         },
         {
-          "@id": "_:u8",
+          "@id": "_:v3",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:u6",
+            "@id": "_:v0",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_19.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_19.ttl"
@@ -493,10 +493,10 @@
           "result": "true"
         },
         {
-          "@id": "_:t7",
+          "@id": "_:u5",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:t3",
+            "@id": "_:u0",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_20.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_20.ttl"
@@ -507,10 +507,10 @@
           "result": "true"
         },
         {
-          "@id": "_:t8",
+          "@id": "_:y9",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:t9",
+            "@id": "_:ab4",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_21.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_21.ttl"
@@ -521,10 +521,10 @@
           "result": "true"
         },
         {
-          "@id": "_:x9",
+          "@id": "_:z0",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:ab6",
+            "@id": "_:aa9",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_22.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_22.ttl"
@@ -535,7 +535,7 @@
           "result": "true"
         },
         {
-          "@id": "_:y0",
+          "@id": "_:z1",
           "@type": "mf:ManifestEntry",
           "action": {
             "@id": "_:ab2",
@@ -549,10 +549,10 @@
           "result": "true"
         },
         {
-          "@id": "_:y1",
+          "@id": "_:z2",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:ab0",
+            "@id": "_:aa5",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_24.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_24.ttl"
@@ -563,10 +563,10 @@
           "result": "true"
         },
         {
-          "@id": "_:y2",
+          "@id": "_:z3",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:aa6",
+            "@id": "_:t4",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_25.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_25.ttl"
@@ -577,10 +577,10 @@
           "result": "true"
         },
         {
-          "@id": "_:y3",
+          "@id": "_:z4",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:aa7",
+            "@id": "_:aa2",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_26.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_26.ttl"
@@ -591,10 +591,10 @@
           "result": "true"
         },
         {
-          "@id": "_:y4",
+          "@id": "_:z5",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:aa4",
+            "@id": "_:ac7",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_27.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_27.ttl"
@@ -605,10 +605,10 @@
           "result": "true"
         },
         {
-          "@id": "_:y5",
+          "@id": "_:z6",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:aa0",
+            "@id": "_:ac3",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_28.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_28.ttl"
@@ -619,10 +619,10 @@
           "result": "true"
         },
         {
-          "@id": "_:y6",
+          "@id": "_:z7",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:z5",
+            "@id": "_:ab8",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_29.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_29.ttl"
@@ -633,10 +633,10 @@
           "result": "true"
         },
         {
-          "@id": "_:y7",
+          "@id": "_:z8",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:z1",
+            "@id": "_:aa1",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_30.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_30.ttl"
@@ -645,6 +645,58 @@
           "name": "Test 0045",
           "registry": "http://www.w3.org/ns/md",
           "result": "true"
+        },
+        {
+          "@id": "_:w2",
+          "@type": "mf:ManifestEntry",
+          "action": {
+            "@id": "_:v9",
+            "@type": "mq:QueryTest",
+            "data": "http://www.w3.org/TR/microdata-rdf/tests/0046.html",
+            "query": "http://www.w3.org/TR/microdata-rdf/tests/0046.ttl"
+          },
+          "comment": "Use of time with @datetime xsd:time",
+          "name": "Test 0046",
+          "result": "true"
+        },
+        {
+          "@id": "_:v4",
+          "@type": "mf:ManifestEntry",
+          "action": {
+            "@id": "_:v1",
+            "@type": "mq:QueryTest",
+            "data": "http://www.w3.org/TR/microdata-rdf/tests/0047.html",
+            "query": "http://www.w3.org/TR/microdata-rdf/tests/0047.ttl"
+          },
+          "comment": "Use of time with @datetime xsd:dateTime",
+          "name": "Test 0047",
+          "result": "true"
+        },
+        {
+          "@id": "_:u6",
+          "@type": "mf:ManifestEntry",
+          "action": {
+            "@id": "_:u1",
+            "@type": "mq:QueryTest",
+            "data": "http://www.w3.org/TR/microdata-rdf/tests/0048.html",
+            "query": "http://www.w3.org/TR/microdata-rdf/tests/0048.ttl"
+          },
+          "comment": "Use of time with @datetime xsd:duration",
+          "name": "Test 0048",
+          "result": "true"
+        },
+        {
+          "@id": "_:t5",
+          "@type": "mf:ManifestEntry",
+          "action": {
+            "@id": "_:t6",
+            "@type": "mq:QueryTest",
+            "data": "http://www.w3.org/TR/microdata-rdf/tests/0049.html",
+            "query": "http://www.w3.org/TR/microdata-rdf/tests/0049.ttl"
+          },
+          "comment": "Use of time with @datetime invalid",
+          "name": "Test 0049",
+          "result": "true"
         }
       ]
     }
--- a/microdata-rdf/tests/manifest.ttl	Tue Sep 11 16:49:09 2012 -0700
+++ b/microdata-rdf/tests/manifest.ttl	Tue Sep 11 17:03:24 2012 -0700
@@ -305,4 +305,28 @@
              mq:query <sdo_eg_md_30.ttl>];
            mf:name "Test 0045";
            mf:registry <http://www.w3.org/ns/md>;
+           mf:result "true"] [ a mf:ManifestEntry;
+           rdfs:comment "Use of time with @datetime xsd:time";
+           mf:action [ a mq:QueryTest;
+             mq:data <0046.html>;
+             mq:query <0046.ttl>];
+           mf:name "Test 0046";
+           mf:result "true"] [ a mf:ManifestEntry;
+           rdfs:comment "Use of time with @datetime xsd:dateTime";
+           mf:action [ a mq:QueryTest;
+             mq:data <0047.html>;
+             mq:query <0047.ttl>];
+           mf:name "Test 0047";
+           mf:result "true"] [ a mf:ManifestEntry;
+           rdfs:comment "Use of time with @datetime xsd:duration";
+           mf:action [ a mq:QueryTest;
+             mq:data <0048.html>;
+             mq:query <0048.ttl>];
+           mf:name "Test 0048";
+           mf:result "true"] [ a mf:ManifestEntry;
+           rdfs:comment "Use of time with @datetime invalid";
+           mf:action [ a mq:QueryTest;
+             mq:data <0049.html>;
+             mq:query <0049.ttl>];
+           mf:name "Test 0049";
            mf:result "true"])]) .