Allow terms and/or prefixes to be the empty string.
authorGregg Kellogg <gregg@kellogg-assoc.com>
Tue, 22 Nov 2011 10:51:44 -0800
changeset 272 1cf39636b981
parent 270 b612b2699a7f
child 273 1157a1d026f8
Allow terms and/or prefixes to be the empty string.
spec/latest/json-ld-api/index.html
spec/latest/json-ld-syntax/index.html
--- a/spec/latest/json-ld-api/index.html	Wed Nov 09 13:59:27 2011 -0500
+++ b/spec/latest/json-ld-api/index.html	Tue Nov 22 10:51:44 2011 -0800
@@ -827,6 +827,7 @@
         <li>
           Otherwise, for each key in <em>value</em> having the lexical form of <cite><a
           href="http://www.w3.org/TR/2009/REC-xml-names-20091208/#NT-NCName">NCName</a></cite> (see [[XML-NAMES]]),
+          or is an empty string,
           it's value MUST have be a simple <tref>string</tref> with the lexical form of absolute IRI. Merge the
           key-value pair into the <tref>local context</tref>.
         </li>
--- a/spec/latest/json-ld-syntax/index.html	Wed Nov 09 13:59:27 2011 -0500
+++ b/spec/latest/json-ld-syntax/index.html	Tue Nov 22 10:51:44 2011 -0800
@@ -578,7 +578,8 @@
 <p>In JSON-LD, a <tdef>context</tdef> is used to map <tref>term</tref>s, i.e., keys and values
   in an JSON document, to <tref>IRI</tref>s. A <tdef>term</tdef> is a short word that MAY be expanded to an
   <tref>IRI</tref>. A <tref>term</tref> MUST have the lexical form of <cite><a
-  href="http://www.w3.org/TR/2009/REC-xml-names-20091208/#NT-NCName">NCName</a></cite> (see [[XML-NAMES]]).</p>
+  href="http://www.w3.org/TR/2009/REC-xml-names-20091208/#NT-NCName">NCName</a></cite> (see [[XML-NAMES]]), or
+  be an empty string.</p>
 <p>The Web uses IRIs for unambiguous identification. The
   idea is that these <tref>term</tref>s mean something that may be of use to other developers and that it is useful to
   give them an unambiguous identifier. That is, it is useful for <tref>term</tref>s to expand to IRIs so that