Skip to content

Commit a410470

Browse files
committed
Ensure that @reverse is not added twice to "preferred values"
... in Term Selection
1 parent 39cf874 commit a410470

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/latest/json-ld-api/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2752,13 +2752,13 @@ <h3>Algorithm</h3>
27522752
This <tref>array</tref> will indicate, in order, the preferred values for
27532753
a <tref title="term">term's</tref> <tref>type mapping</tref> or
27542754
<tref>language mapping</tref>.</li>
2755-
<li>If <em>typeOrLanguageValue</em> is <code>@reverse</code>, append
2756-
<code>@reverse</code> to <em>preferred values</em>.</li>
27572755
<!-- FIXME: This is better done in IRI compaction, this way we don't need to pass around the active context etc. -->
27582756
<li>If <em>typeOrLanguageValue</em> is <code>@id</code> or <code>@reverse</code>
27592757
and <em>value</em> is a <tref>JSON object</tref> containing the key
27602758
<code>@id</code>:
27612759
<ol class="algorithm">
2760+
<li>If <em>typeOrLanguageValue</em> is <code>@reverse</code>, append
2761+
<code>@reverse</code> to <em>preferred values</em>.</li>
27622762
<li>If the result of using the
27632763
<a href="#iri-compaction">IRI compaction algorithm</a>,
27642764
passing <tref>active context</tref>, <tref>inverse context</tref>,

0 commit comments

Comments
 (0)