Skip to content

Commit bbae0c5

Browse files
committed
Improve requirements of terms.
Fixes #231.
1 parent 865d350 commit bbae0c5

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
@@ -808,10 +808,13 @@ <h2>The Context</h2>
808808
terms to communicate with one another more efficiently, but without
809809
losing accuracy.</p>
810810

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

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

11647-
<p>A <a>term</a> MUST NOT equal any of the JSON-LD
11648-
<a>keywords</a>.</p>
11650+
<p>A <a>term</a> MUST NOT equal any of the JSON-LD <a>keywords</a>.</p>
1164911651

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

0 commit comments

Comments
 (0)