Fix previous publish date
authorMarkus Lanthaler <mark_lanthaler@gmx.net>
Thu, 26 Apr 2012 11:52:36 +0200
changeset 571 bbbed5de209b
parent 570 78435c9f0ca9
child 572 8a424c6fc8f0
Fix previous publish date
spec/latest/json-ld-api/index.html
--- a/spec/latest/json-ld-api/index.html	Tue Apr 24 16:49:23 2012 -0700
+++ b/spec/latest/json-ld-api/index.html	Thu Apr 26 11:52:36 2012 +0200
@@ -162,9 +162,9 @@
 
           // if there is a previously published draft, uncomment this and set its YYYY-MM-DD date
           // and its maturity status
-          previousPublishDate:  "2011-10-23",
+          previousPublishDate:  "2012-01-12",
           previousMaturity:     "ED",
-          previousDiffURI:      "http://json-ld.org/spec/ED/json-ld-api/20111023/index.html",
+          previousDiffURI:      "http://json-ld.org/spec/ED/json-ld-api/20120112/index.html",
           diffTool:             "http://www.aptest.com/standards/htmldiff/htmldiff.pl",
 
           // if there a publicly available Editor's Draft, this is the link
@@ -225,7 +225,7 @@
           wgPatentURI:  "",
           maxTocLevel: 4,
           preProcess: [ preProc ],
-          alternateFormats: [ {uri: "diff-20111023.html", label: "diff to previous version"} ],
+          alternateFormats: [ {uri: "diff-20120112.html", label: "diff to previous version"} ],
       };
 
       function updateExample(doc, content) {
@@ -1166,12 +1166,12 @@
         </ol>
       </li>
       <li>If <em>terms</em> is empty, add a <tref>compact IRI</tref> representation of <em>iri</em>
-        for each <tref>term</tref> in the <tref>active context</tref> which 
-        maps to an <tref>IRI</tref> which is a prefix for <em>iri</em> where 
+        for each <tref>term</tref> in the <tref>active context</tref> which
+        maps to an <tref>IRI</tref> which is a prefix for <em>iri</em> where
         the resulting <tref>compact IRI</tref> is not a <tref>term</tref> in the
         <tref>active context</tref>. The resulting <tref>compact IRI</tref> is the
-        <tref>term</tref> associated with the partially 
-        matched IRI in the <tref>active context</tref> concatenated with a 
+        <tref>term</tref> associated with the partially
+        matched IRI in the <tref>active context</tref> concatenated with a
         colon (:) character and the unmatched part of <em>iri</em>.</li>
       <li>If <em>terms</em> is empty, return <em>iri</em>.</li>
       <li>Return the shortest and lexicographically least value in <em>terms</em>.</li>
@@ -1198,9 +1198,9 @@
     </ol>
   </li>
   <li>Otherwise, if <em>value</em> is <tref>true</tref>, <tref>false</tref>, or
-    a <tref>number</tref>, if <em>term</em> has a 
-    <code>@type</code> coercion to <code>xsd:boolean</code>, 
-    <code>xsd:integer</code>, or <code>xsd:double</code> respectively, 
+    a <tref>number</tref>, if <em>term</em> has a
+    <code>@type</code> coercion to <code>xsd:boolean</code>,
+    <code>xsd:integer</code>, or <code>xsd:double</code> respectively,
     <tref>term rank</tref> is <code>3</code>, otherwise if <em>term</em> has no <code>@type</code> or
     <code>@language</code> it is <code>2</code>, otherwise <code>1</code>.</li>
   <li>Otherwise, if <em>value</em> is a <tref>string</tref>, it represents a string value
@@ -1214,17 +1214,17 @@
         or a <code>@language</code>:
         <ol class="algorithm">
           <li>If <em>value</em> has a <code>@type</code> property matching a
-            <code>@type</code> coercion for <em>term</em>, <tref>term rank</tref> 
-            is <code>3</code>, otherwise if <em>term</em> has no <code>@type</code> 
-            coersion and no <code>@language</code>, <tref>term rank</tref> is 
+            <code>@type</code> coercion for <em>term</em>, <tref>term rank</tref>
+            is <code>3</code>, otherwise if <em>term</em> has no <code>@type</code>
+            coersion and no <code>@language</code>, <tref>term rank</tref> is
             <code>1</code>, otherwise <code>0</code>.</li>
           <li>Otherwise, if <em>value</em> has a <code>@language</code> property matching a
-            <code>@language</code> definition for <em>term</em> (or 
+            <code>@language</code> definition for <em>term</em> (or
             <em>term</em> has no <code>@type</code> or <code>@language</code> definition and
-            <code>@language</code> in the <tref>active context</tref> matches the 
-            <em>value</em> <code>@language</code>), <tref>term rank</tref> is 
-            <code>3</code>, otherwise if <em>term</em> has no <code>@type</code> 
-            coersion and no <code>@language</code>, <tref>term rank</tref> is 
+            <code>@language</code> in the <tref>active context</tref> matches the
+            <em>value</em> <code>@language</code>), <tref>term rank</tref> is
+            <code>3</code>, otherwise if <em>term</em> has no <code>@type</code>
+            coersion and no <code>@language</code>, <tref>term rank</tref> is
             <code>1</code>, otherwise <code>0</code>.</li>
         </ol>
       </li>
@@ -1282,7 +1282,7 @@
     <li>If the value may be expressed as <tref>true</tref>, <tref>false</tref> or <tref>number</tref>,
       the value is the native representation of the <code>@value</code> value.</li>
     <li>If <tref>active property</tref> is <code>@graph</code>, the compacted value is the
-      value associated with the <code>@id</code> key, processed according to 
+      value associated with the <code>@id</code> key, processed according to
       the <a href="#iri-compaction">IRI Compaction</a> steps.</li>
     <li>Otherwise, if the <tref>active context</tref> contains a coercion target for the
       key that matches the expression of the value, compact the value using the
@@ -1820,8 +1820,8 @@
   an empty array. The resulting value is the final <tref>JSON-LD output</tref>.</p>
 
 <p class="issue">The algorithm needs to be updated to consider <code>@graph</code>.
-  For 1.0, this might not require anything, as the default implementation of <a 
-  href="#subject-flattening">Subject Flattening</a> should flatten everything 
+  For 1.0, this might not require anything, as the default implementation of <a
+  href="#subject-flattening">Subject Flattening</a> should flatten everything
   into a single graph.</p>
 
 </section>