Skip to content

Commit ecfe226

Browse files
committed
Improve requirements of terms.
Fixes #231.
1 parent 1c672da commit ecfe226

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

index.html

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -807,10 +807,13 @@ <h2>The Context</h2>
807807
terms to communicate with one another more efficiently, but without
808808
losing accuracy.</p>
809809

810-
<p>Simply speaking, a <a>context</a> is used to map <a>terms</a> to
811-
<a>IRIs</a>. <a>Terms</a> are case sensitive
812-
and any valid <a>string</a> that is not a reserved JSON-LD <a>keyword</a>
813-
can be used as a <a>term</a>.</p>
810+
<p>Simply speaking, a <a>context</a> is used to map <a>terms</a> to <a>IRIs</a>.
811+
<a>Terms</a> are case sensitive and most any valid <a>string</a> that is not a reserved JSON-LD <a>keyword</a>
812+
can be used as a <a>term</a>.
813+
<span class="changed">The empty string `""` and strings that have the form
814+
of a keyword (e.g., staring with `"@"`) must not be used as terms.
815+
Strings that have the form of
816+
an absolute IRI (e.g., containing a `":"`) should not be used as terms.</span></p>
814817

815818
<p>For the sample document in the previous section, a <a>context</a> would
816819
look something like this:</p>
@@ -11643,8 +11646,7 @@ <h2>Terms</h2>
1164311646
<p>A <a>term</a> is a short-hand <a>string</a> that expands
1164411647
to an <a>IRI</a> or a <a>blank node identifier</a>.</p>
1164511648

11646-
<p>A <a>term</a> MUST NOT equal any of the JSON-LD
11647-
<a>keywords</a>.</p>
11649+
<p>A <a>term</a> MUST NOT equal any of the JSON-LD <a>keywords</a>.</p>
1164811650

1164911651
<p class="changed">When used as the <a>prefix</a> in a <a>Compact IRI</a>, to avoid
1165011652
the potential ambiguity of a <a>prefix</a> being confused with an IRI

0 commit comments

Comments
 (0)