Skip to content

Commit

Permalink
copy-edits
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelhkay committed Nov 29, 2024
1 parent cb24d3f commit 5611103
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions specifications/xslt-40/src/function-catalog.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1218,16 +1218,17 @@
<olist>
<item><p>If both <var>K1</var> and <var>K2</var> are of type
<code>xs:string</code>, <code>xs:untypedAtomic</code>,
or <code>xs:anyURI</code>, then <code>compare(<var>K1</var>, <var>K2</var>, $collation)</code>
or <code>xs:anyURI</code>, then they are deemed equal if
<code>compare(<var>K1</var>, <var>K2</var>, $collation)</code>
returns zero, where <code>$collation</code> is the collation of the key definition.</p></item>
<item><p>Otherwise, <code>atomic-equal(<var>K1</var>, <var>K2</var>)</code>
<item><p>Otherwise, they are deemed equal if <code>atomic-equal(<var>K1</var>, <var>K2</var>)</code>
returns true.</p></item>
</olist>

<p>When the <code>composite</code> option is <code>true</code>, then two sequences of atomic
<p>When <code>composite="yes"</code>, then two sequences of atomic
items <var>S1</var> and <var>S2</var> are deemed equal if <code>deep-equal(<var>S1</var>,
<var>S2</var>, {'items-equal': $F})) returns true, where <code>$F</code> is the function
just described for comparing atomic items.</code></p>
<var>S2</var>, {'items-equal': $F}))</code> returns true, where <code>$F</code> is the function
just described for comparing atomic items.</p>

<note>
<p>The rules for comparing items have changed in this version of the specification,
Expand Down Expand Up @@ -1315,8 +1316,7 @@
<p>
<error spec="XT" type="dynamic" class="DE" code="1260">
<p>It is a <termref def="dt-dynamic-error"> dynamic error</termref> if the value
<error.extra>of the first argument to the <function>key</function>
function</error.extra> is not a valid QName, or if there is no namespace
of <code>$key-name</code> is not a valid QName, or if there is no namespace
declaration in scope for the prefix of the QName, or if the name obtained by
expanding the QName is not the same as the expanded name of any
<elcode>xsl:key</elcode> declaration in the containing <termref def="dt-package">package</termref>. If the
Expand Down Expand Up @@ -1445,7 +1445,7 @@

</fos:examples>
<fos:changes>
<fos:change issue="1619">
<fos:change issue="1619" PR="1622" date="2024-11-29">
<p>The rules for equality comparison have changed to bring keys into line with maps.</p>
</fos:change>
</fos:changes>
Expand Down Expand Up @@ -1549,7 +1549,7 @@
</fos:example>
</fos:examples>
<fos:changes>
<fos:change issue="1619">
<fos:change issue="1619" PR="1622" date="2024-11-29">
<p>New in 4.0.</p>
</fos:change>
</fos:changes>
Expand Down

0 comments on commit 5611103

Please sign in to comment.