Skip to content

Commit

Permalink
Update spec/index.html
Browse files Browse the repository at this point in the history
Co-authored-by: Olaf Hartig <[email protected]>
  • Loading branch information
afs and hartig committed Mar 6, 2025
1 parent 6cbf72e commit b1eb06e
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions spec/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5672,7 +5672,7 @@ <h5>NOT IN</h5>
<h4>Functions on RDF Terms</h4>

<section id="func-sameTerm">
<h5>SameTerm</h5>
<h5>sameTerm</h5>
<pre class="prototype nohighlight"> <span class="return">xsd:boolean</span> <span class="operator">sameTerm</span> (<span class="type"><span class="type RDFterm">RDF term</span></span> <span class="name">term1</span>, <span class="type"><span class="type RDFterm">RDF term</span></span> <span class="name">term2</span>)</pre>
<p>Returns TRUE if <code>term1</code> and <code>term2</code> are the same RDF term as
defined in [[[RDF12-CONCEPTS]]] [[RDF12-CONCEPTS]]; returns FALSE otherwise.</p>
Expand All @@ -5683,8 +5683,8 @@ <h5>SameTerm</h5>
</p>
<ul>
<li><code>term1</code> and <code>term2</code> are
<a data-cite="RDF12-CONCEPTS#iri">IRIs</a> that are
<a data-cite="RDF12-CONCEPTS#dfn-iri-equality">equal as IRIs</a>.
<a data-cite="RDF12-CONCEPTS#iri">IRIs</a> that are the
<a data-cite="RDF12-CONCEPTS#dfn-iri-equality">same as IRIs</a>.
</li>
<li><code>term1</code> and <code>term2</code> are
<a data-cite="RDF12-CONCEPTS#dfn-literal">literals</a> that are
Expand Down Expand Up @@ -5749,7 +5749,7 @@ <h5>SameTerm</h5>
</section>
<section id="func-sameValue">
<span id="func-RDFterm-equal"><!-- obsolete id --></span>
<h5>SameValue</h5>
<h5>sameValue</h5>
<pre class="prototype nohighlight">
<span class="return">xsd:boolean</span> <span class="operator" style="text-transform: none;">sameValue</span> (<span class="type"><span class="type RDFterm">RDF term</span></span> <span class="name">term1</span>, <span class="type"><span class="type RDFterm">RDF term</span></span> <span class="name">term2</span>)
</pre>
Expand All @@ -5767,6 +5767,7 @@ <h5>SameValue</h5>
Consider adding non-literal `=` to operator mapping table.
</p>

<p>The result of this function is determined by going through the following steps.</p>
<ol>
<li>If <code>term1</code> and <code>term2</code> are
<a data-cite="RDF12-CONCEPTS#dfn-rdf-term-equality">equal RDF terms</a>,
Expand Down Expand Up @@ -5843,7 +5844,7 @@ <h5>SameValue</h5>
</div>
<div id="sameValue-NaN" class="note">
<p>
The <a href="#OperatorMapping">Operator Mapping</a> for "`=`""
The <a href="#OperatorMapping">Operator Mapping</a> for "`=`"
is the function
<a data-cite="XPATH-FUNCTIONS-31#func-numeric-equal">`fn:numeric-equal`</a>
which returns `false` when comparing arguments involving `NaN`.
Expand Down

0 comments on commit b1eb06e

Please sign in to comment.