Describe meaning of fragment identifiers for application/ld-frame+json
authorMarkus Lanthaler <mark_lanthaler@gmx.net>
Sat, 05 May 2012 21:31:32 +0800
changeset 627 33159598c64f
parent 626 89f163eb2dc7
child 628 0817b55ad343
Describe meaning of fragment identifiers for application/ld-frame+json

Also improved the description for application/ld+json.

This addresses #107.
spec/latest/json-ld-api/index.html
spec/latest/json-ld-syntax/index.html
--- a/spec/latest/json-ld-api/index.html	Sat May 05 21:22:48 2012 +0800
+++ b/spec/latest/json-ld-api/index.html	Sat May 05 21:31:32 2012 +0800
@@ -1369,12 +1369,12 @@
 <section>
 <h3>Expansion Algorithm</h3>
 
-<p>The algorithm takes three input variables: an <tref>active context</tref>,  an <tref>active property</tref>, and an <em>element</em> to be expanded. To 
-  begin, the <tref>active context</tref> is set to the result of performing, <a 
-  href="#context-processing">Context Processing</a> on the passed 
-  <em>context</em>, or to the <tref>initial context</tref> if <em>context</em> 
-  is <tref>null</tref>, <tref>active property</tref> is set to 
-  <tref>null</tref>, and <em>element</em> is set to the <tref>JSON-LD 
+<p>The algorithm takes three input variables: an <tref>active context</tref>,  an <tref>active property</tref>, and an <em>element</em> to be expanded. To
+  begin, the <tref>active context</tref> is set to the result of performing, <a
+  href="#context-processing">Context Processing</a> on the passed
+  <em>context</em>, or to the <tref>initial context</tref> if <em>context</em>
+  is <tref>null</tref>, <tref>active property</tref> is set to
+  <tref>null</tref>, and <em>element</em> is set to the <tref>JSON-LD
   input</tref>.</p>
 <ol class="algorithm">
   <li>If <em>element</em> is an <tref>array</tref>, process each entry in <em>element</em> recursively
@@ -2360,6 +2360,7 @@
 submitted to the Internet Engineering Steering Group if this specification
 becomes a W3C Recommendation.</p>
 
+<h3>application/ld-frame+json</h3>
 <dl>
   <dt>Type name:</dt>
   <dd>application</dd>
@@ -2410,6 +2411,9 @@
   <dd>W3C</dd>
 </dl>
 
+<p>Fragment identifiers have no meaning with
+  <a href="#application-ld-frame-json">application/frame-ld+json</a> resources.</p>
+
 </section>
 
 <section class="appendix" id="appendix-b">
--- a/spec/latest/json-ld-syntax/index.html	Sat May 05 21:22:48 2012 +0800
+++ b/spec/latest/json-ld-syntax/index.html	Sat May 05 21:31:32 2012 +0800
@@ -2801,6 +2801,7 @@
 submitted to the Internet Engineering Steering Group if this specification
 becomes a W3C Recommendation.</p>
 
+<h3>application/ld+json</h3>
 <dl>
   <dt>Type name:</dt>
   <dd>application</dd>
@@ -2860,8 +2861,11 @@
   <dd>W3C</dd>
 </dl>
 
-<p>In JSON-LD a fragment identifier MAY identify a node in the <tref>linked data graph</tref>
-  expressed in the document. This idiom, which is also used in RDF [[RDF-CONCEPTS]], gives a simple way to "mint" new, document-local IRIs to label nodes and therefore contributes considerably to the expressive power of JSON-LD.
+<p>Fragment identifiers used with <a href="#application-ld-json">application/ld+json</a>
+  resources MAY identify a node in the <tref>linked data graph</tref> expressed in
+  the resource. This idiom, which is also used in RDF [[RDF-CONCEPTS]], gives a
+  simple way to "mint" new, document-local IRIs to label nodes and therefore contributes
+  considerably to the expressive power of JSON-LD.</p>
 
 </section>