Define used namespaces. Make registry definitions more consistent.
authorGregg Kellogg <gregg@kellogg-assoc.com>
Fri, 18 Nov 2011 12:44:33 -0800
changeset 34 b5e9b5f8d805
parent 33 0a53099a2b11
child 35 89285fc6b235
Define used namespaces. Make registry definitions more consistent.
microdata-rdf/index.html
--- a/microdata-rdf/index.html	Fri Nov 18 11:22:47 2011 -0800
+++ b/microdata-rdf/index.html	Fri Nov 18 12:44:33 2011 -0800
@@ -449,6 +449,38 @@
       in [[!MICRODATA]]).
     </dd>
   </dl>
+  <p>In RDF, it is common for people to shorten vocabulary terms via abbreviated URIs that use a 'prefix'
+    and a 'reference'. throughout this document assume that the following vocabulary
+    prefixes have been defined:</p>
+  <table><tbody>
+    <tr>
+      <td>dc:</td>
+      <td>http://purl.org/dc/terms/</td>
+    </tr>
+
+    <tr>
+      <td>md:</td>
+      <td>
+        http://www.w3.org/ns/md#</td>
+    </tr>
+
+    <tr>
+      <td>rdf:</td>
+      <td>
+        http://www.w3.org/1999/02/22-rdf-syntax-ns#</td>
+    </tr>
+
+    <tr>
+      <td>rdfs:</td>
+      <td>
+        http://www.w3.org/2000/01/rdf-schema#</td>
+    </tr>
+
+    <tr>
+      <td>xsd:</td>
+      <td>http://www.w3.org/2001/XMLSchema#</td>
+    </tr>
+  </tbody></table>
 </section>
 
 <section class="informative">
@@ -457,6 +489,8 @@
     without regards to the requirements of a particular <tref>vocabulary</tref>. However, microdata doesn't
     provide sufficient syntactic help in making these decisions. Different vocabularies have different
     needs.</p>
+  <p>The registry is located at the namespace defined for microdata: <code>http://www.w3.org/ns/md</code> in
+    a variety of formats.</p>
   <p>The <tdef>registry</tdef> associates a <tdef>URI prefix</tdef> with one or more key-value pairs denoting
   processor behavior. A hypothetical JSON representation of such a registry might be the following:</p>
 <pre class="example" data-transform="updateExample">
@@ -466,7 +500,7 @@
     "propertyURI":    "vocabulary",
     "multipleValues": "unordered",
     "properties": {
-      "tracks": "list"
+      "tracks": {"multipleValues": "list"}
     }
   },
   "http://microformats.org/profile/hcard": {
@@ -660,7 +694,7 @@
   },
   "http://microformats.org/profile/hcard": {
     "propertyURI":    "type",
-    ****"multipleValues": "list"****
+    ****"multipleValues": {"multipleValues": "list"}****
   }
 }
 -->
@@ -1418,22 +1452,22 @@
     "propertyURI":    "vocabulary",
     "multipleValues": "unordered",
     "properties": {
-      "blogPosts": "list",
-      "breadcrumb": "list",
-      "byArtist": "list",
-      "creator": "list",
-      "episodes": "list",
-      "events": "list",
-      "founders": "list",
-      "itemListElement": "list",
-      "musicGroupMember": "list",
-      "performerIn": "list",
-      "performers": "list",
-      "producer": "list",
-      "recipeInstructions": "list",
-      "seasons": "list",
-      "subEvents": "list",
-      "tracks": "list"
+      "blogPosts": {"multipleValues": "list"},
+      "breadcrumb": {"multipleValues": "list"},
+      "byArtist": {"multipleValues": "list"},
+      "creator": {"multipleValues": "list"},
+      "episodes": {"multipleValues": "list"},
+      "events": {"multipleValues": "list"},
+      "founders": {"multipleValues": "list"},
+      "itemListElement": {"multipleValues": "list"},
+      "musicGroupMember": {"multipleValues": "list"},
+      "performerIn": {"multipleValues": "list"},
+      "performers": {"multipleValues": "list"},
+      "producer": {"multipleValues": "list"},
+      "recipeInstructions": {"multipleValues": "list"},
+      "seasons": {"multipleValues": "list"},
+      "subEvents": {"multipleValues": "list"},
+      "tracks": {"multipleValues": "list"}
     }
   },
   "http://microformats.org/profile/hcard": {
@@ -1444,12 +1478,12 @@
     "propertyURI":    "vocabulary",
     "multipleValues": "unordered",
     "properties": {
-      "categories": "list"
+      "categories": {"multipleValues": "list"}
     }
   },
   "http://n.whatwg.org/work": {
     "propertyURI":    "contextual",
-    "multipleValues": "list"
+    "multipleValues": {"multipleValues": "list"}
   }
 }
 -->