hixie: Update the RDF conversion to be unambiguous in all cases. (whatwg r4068)

hixie: Update the RDF conversion to be unambiguous in all cases. (whatwg
r4068)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.3229&r2=1.3230&f=h
http://html5.org/tools/web-apps-tracker?from=4067&to=4068

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.3229
retrieving revision 1.3230
diff -u -d -r1.3229 -r1.3230
--- Overview.html 3 Oct 2009 02:19:50 -0000 1.3229
+++ Overview.html 4 Oct 2009 03:43:52 -0000 1.3230
@@ -215,7 +215,7 @@
    <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
    <!--ZZZ:-->
    <!--<h2 class="no-num no-toc">W3C Working Draft 25 August 2009</h2>-->
-   <h2 class="no-num no-toc" id="editor-s-draft-3-october-2009">Editor's Draft 3 October 2009</h2>
+   <h2 class="no-num no-toc" id="editor-s-draft-4-october-2009">Editor's Draft 4 October 2009</h2>
    <!--:ZZZ-->
    <dl><!-- ZZZ: update the month/day (twice), (un)comment out--><!--
     <dt>This Version:</dt>
@@ -317,7 +317,7 @@
   track.
   <!--ZZZ:-->
   <!--This specification is the 25 August 2009 Working Draft.-->
-  This specification is the 3 October 2009 Editor's Draft.
+  This specification is the 4 October 2009 Editor's Draft.
   <!--:ZZZ-->
   </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- relationship to other work (required) --><p>This specification is also being produced by the <a href="http://www.whatwg.org/">WHATWG</a>. The two specifications are
   identical from the table of contents onwards.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- context and rationale (required) --><p>This specification is intended to replace (be a new version of)
@@ -39511,7 +39511,7 @@
   existing vocabularies, as this makes content re-use easier.<p>When designing new vocabularies, identifiers can be created
   either using <a href="#url" title="URL">URLs</a>, <a href="#valid-reversed-dns-identifier" title="valid
   reversed DNS identifier">reversed DNS labels</a>, or, for
-  properties, as plain words (with no dots or colons). For URLs
+  properties, as plain words (with no dots or colons). For URLs,
   conflicts with other vocabularies can be avoided by only using
   identifiers that correspond to pages that the author has control
   over. Similarly, for reversed DNS labels conflicts can be avoided by
@@ -39695,7 +39695,7 @@
   attribute may have an <dfn id="attr-itemtype" title="attr-itemtype"><code>itemtype</code></dfn> attribute
   specified, to give the <a href="#item-type">item type</a> of the <a href="#concept-item" title="concept-item">item</a>.<p>The <code title="attr-itemtype"><a href="#attr-itemtype">itemtype</a></code> attribute, if
   specified, must have a value that is either:<ul><li>A <a href="#valid-url">valid URL</a> that is an <a href="#absolute-url">absolute URL</a>
-   for which the string "<code title="">http://www.w3.org/1999/xhtml/custom#</code>" is not a
+   for which the string "<code title="">http://www.w3.org/1999/xhtml/microdata#</code>" is not a
    <a href="#prefix-match">prefix match</a>, or</li>
 
    <li>A <a href="#valid-reversed-dns-identifier">valid reversed DNS identifier</a>.</li>
@@ -39729,7 +39729,7 @@
   unique space-separated tokens</a> representing the names of the
   name-value pairs that it adds. The attribute's value must have at
   least one token.<p>Each token must be either:<ul><li>A <a href="#valid-url">valid URL</a> that is an <a href="#absolute-url">absolute URL</a>
-   for which the string "<code title="">http://www.w3.org/1999/xhtml/custom#</code>" is not a
+   for which the string "<code title="">http://www.w3.org/1999/xhtml/microdata#</code>" is not a
    <a href="#prefix-match">prefix match</a>, or</li>
 
    <li>A <a href="#valid-reversed-dns-identifier">valid reversed DNS identifier</a>, or</li>
@@ -40212,7 +40212,7 @@
       <p>Generate the following triple:</p>
 
       <dl class="triple"><dt>subject   <dd> <a href="#the-document-s-current-address">the document's current address</a>
-       <dt>predicate <dd> <code title="">http://www.w3.org/1999/xhtml/vocab#item</code>
+       <dt>predicate <dd> <code title="">http://www.w3.org/1999/xhtml/microdata#item</code>
        <dt>object    <dd> <var title="">item</var>
       </dl></li>
 
@@ -40247,11 +40247,11 @@
    <a href="#global-identifier">global identifier</a>. Otherwise, let <var title="">subject</var> be a new blank node.</li>
 
    <li><p>Let <var title="">type</var> be the <a href="#item-type">item type</a>
-   of <var title="">item</var>.</li>
+   of <var title="">item</var>, or the empty string, if <var title="">item</var> has no <a href="#item-type">item type</a>.</li>
 
    <li><p>If <var title="">type</var> is neither the empty string nor
    an <a href="#absolute-url">absolute URL</a>, then let <var title="">type</var> be
-   the result of concatenating the string "<code title="">http://www.w3.org/1999/xhtml/custom#</code>" with the <var title="">type</var>, with any characters in <var title="">type</var> that are not valid in the &lt;ifragment&gt;
+   the result of concatenating the string "<code title="">http://www.w3.org/1999/xhtml/microdata#</code>" with the <var title="">type</var>, with any characters in <var title="">type</var> that are not valid in the &lt;ifragment&gt;
    production of the IRI syntax being %-escaped.</li>
 
    <li>
@@ -40290,43 +40290,61 @@
      <li>
 
       <p>For each name <var title="">name</var> in <var title="">element</var>'s <a href="#property-names">property names</a>, run the
-      following substeps:</p>
+      appropriate substeps from the following list:</p>
 
-      <ol><!--
-       <li><p>Otherwise, if <var title="">type</var> is <code
-       title="md-work">work</code>, and <var title="">name</var> is
-       equal to the string "<code title="md-work-title">title</code>",
-       let <var title="">name</var> be the string "<code
-       title="">http://purl.org/dc/elements/1.1/title</code>".</p></li>
+      <dl><dt>If <var title="">name</var> is an <a href="#absolute-url">absolute
+       URL</a></dt>
 
-       <li><p>Otherwise, if <var title="">type</var> is <code
-       title="md-work">work</code>, and <var title="">name</var> is
-       equal to the string "<code
-       title="md-work-author">author</code>", let <var
-       title="">name</var> be the string "<code
-       title="">http://creativecommons.org/ns#attributionName</code>".</p></li>
+       <dd>
 
-       <li><p>Otherwise, if <var title="">type</var> is <code
-       title="md-work">work</code>, and <var title="">name</var> is
-       equal to the string "<code
-       title="md-work-license">license</code>", let <var
-       title="">name</var> be the string "<code
-       title="">http://www.w3.org/1999/xhtml/vocab#license</code>".</p></li>
---><li><p><!--Otherwise...--> If <var title="">name</var> is not
-       an <a href="#absolute-url">absolute URL</a>, then let <var title="">name</var>
-       be the result of concatenating the string "<code title="">http://www.w3.org/1999/xhtml/custom#</code>" with <var title="">name</var>, with any characters in <var title="">name</var> that are not valid in the &lt;ifragment&gt;
-       production of the IRI syntax being %-escaped. <a href="#refsRFC3987">[RFC3987]</a></li>
+        <p>Generate the following triple:</p>
 
-       <li>
+        <dl class="triple"><dt>subject   <dd> <var title="">subject</var>
+         <dt>predicate <dd> <var title="">name</var>
+         <dt>object    <dd> <var title="">value</var>
+        </dl></dd>
+
+       <dt>If <var title="">name</var> contains neither a U+003A COLON
+       character (:) nor a U+002E FULL STOP character (.)</dt>
+
+       <dd>
+
+        <ol><li><p>If <var title="">type</var> is the empty string, then
+         abort these substeps.</li>
+
+         <li><p>Let <var title="">predicate</var> have the same value
+         as <var title="">type</var>.</li>
+
+         <li><p>If <var title="">predicate</var> does not end in a
+         U+0023 NUMBER SIGN character (#), then append a U+0023 NUMBER
+         SIGN character (#) to <var title="">predicate</var>.</li>
+
+         <li><p>Append the value of <var title="">name</var> to <var title="">predicate</var>, with any characters in <var title="">name</var> that are not valid in the &lt;ifragment&gt;
+         production of the IRI syntax being %-escaped.</li>
+
+         <li>
+
+          <p>Generate the following triple:</p>
+
+          <dl class="triple"><dt>subject   <dd> <var title="">subject</var>
+           <dt>predicate <dd> the concatenation of the string "<code title="">http://www.w3.org/1999/xhtml/microdata#</code>" and <var title="">predicate</var>, with any characters in <var title="">predicate</var> that are not valid in the &lt;ifragment&gt; production of the IRI syntax being %-escaped <a href="#refsRFC3987">[RFC3987]</a>
+           <dt>object    <dd> <var title="">value</var>
+          </dl></li>
+
+        </ol></dd>
+
+       <dt>Otherwise</dt>
+
+       <dd>
 
         <p>Generate the following triple:</p>
 
         <dl class="triple"><dt>subject   <dd> <var title="">subject</var>
-         <dt>predicate <dd> <var title="">name</var>
+         <dt>predicate <dd> the concatenation of the string "<code title="">http://www.w3.org/1999/xhtml/microdata#</code>" and <var title="">name</var>, with any characters in <var title="">name</var> that are not valid in the &lt;ifragment&gt; production of the IRI syntax being %-escaped <a href="#refsRFC3987">[RFC3987]</a>
          <dt>object    <dd> <var title="">value</var>
-        </dl></li>
+        </dl></dd>
 
-      </ol></li>
+      </dl></li>
 
     </ol></li>

Received on Sunday, 4 October 2009 03:44:39 UTC