This resolves issue #45 where it is described that tokens, keywords and terms are case-sensitive.
authorGregg Kellogg <gregg@kellogg-assoc.com>
Tue, 27 Dec 2011 10:57:06 -0800
changeset 305 9661714052c8
parent 304 9f9fdcff6fde
child 306 06dd483c271e
This resolves issue #45 where it is described that tokens, keywords and terms are case-sensitive.
spec/latest/json-ld-api/index.html
spec/latest/json-ld-syntax/index.html
--- a/spec/latest/json-ld-api/index.html	Tue Dec 27 10:46:00 2011 -0800
+++ b/spec/latest/json-ld-api/index.html	Tue Dec 27 10:57:06 2011 -0800
@@ -684,6 +684,8 @@
   <dt><code>@type</code></dt><dd>Used to set the type of the active subject or the datatype of a literal.</dd>
   <dt><code>:</code></dt><dd>The separator for JSON keys and values that use the <tref>prefix</tref> mechanism.</dd>
   </dl>
+  
+  <p>All JSON-LD tokens and keywords are case-sensitive.</p>
 </section>
 
 <section>
@@ -848,7 +850,8 @@
     <ol class="algorithm">
       <li>Split the value into a <em>prefix</em> and <em>suffix</em> from the first occurrence of ':'.</li>
       <li>If the prefix is a '_' (underscore), the value represents a named <tref>blank node</tref>.</li>
-      <li>If the <tref>active context</tref> contains a <tref>term</tref> mapping for <em>prefix</em>, generate an IRI
+      <li>If the <tref>active context</tref> contains a <tref>term</tref> mapping for <em>prefix</em> using
+        a case-sensitive comparison, generate an IRI
         by prepending the mapped prefix to the (possibly empty) suffix using textual concatenation. Note that an empty
         suffix and no suffix (meaning the value contains no ':' string at all) are treated equivalently.</li>
       <li>Otherwise, use the value directly as an IRI.</li>
--- a/spec/latest/json-ld-syntax/index.html	Tue Dec 27 10:46:00 2011 -0800
+++ b/spec/latest/json-ld-syntax/index.html	Tue Dec 27 10:57:06 2011 -0800
@@ -824,6 +824,8 @@
 -->
 </pre>
 
+<p><tref>Term</tref>s are case sensitive, and MUST be matched using a case-sensitive comparison.</p>
+
 <p><code>foaf:name</code> above will automatically expand out to the IRI
 <code>http://xmlns.com/foaf/0.1/name</code>. See <a href="#prefixes">Prefixes</a> for more details.</p>