Skip to content

Commit db91a3e

Browse files
committed
Add a bit more explanation on @version.
1 parent f08ced8 commit db91a3e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

index.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2164,7 +2164,10 @@ <h1>Advanced Concepts</h1>
21642164

21652165
<p>The first <code>context</code> encountered when processing a
21662166
document which contains <code>@version</code> determines the <code>processing mode</code>,
2167-
unless it is defined explicitly through an API option.</p>
2167+
unless it is defined explicitly through an API option.
2168+
This means that if <code>"@version": 1.1</code> is encountered after processing a context
2169+
without <code>@version</code>,
2170+
the former will be interpreted as having had <code>"@version": 1.1</code> defined within it.</p>
21682171

21692172
<p class="note">Setting the <a>processing mode</a> explicitly
21702173
for JSON-LD 1.1 is necessary so that a JSON-LD 1.0 processor

0 commit comments

Comments
 (0)