Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the Unicode Codepoint Collation URI #552

Merged
merged 1 commit into from
Jun 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions steps/src/main/xml/steps/text-sort.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<p:option name="case-order" as="xs:string?" values="('upper-first', 'lower-first')"/>
<p:option name="lang" as="xs:language?"/>
<p:option name="collation" as="xs:string"
select="'https://www.w3.org/2005/xpath-functions/collation/codepoint'"/>
select="'http://www.w3.org/2005/xpath-functions/collation/codepoint'"/>
<p:option name="stable" as="xs:boolean" select="true()"/>
</p:declare-step>

Expand Down Expand Up @@ -50,7 +50,7 @@
<listitem>
<para>The <option>collation</option> option identifies how strings are to be compared with each other. Its value
must be a valid collation URI. The only collation XProc processors <rfc2119>must</rfc2119> support is the
Unicode Codepoint Collation <link xlink:href="https://www.w3.org/2005/xpath-functions/collation/codepoint/"
Unicode Codepoint Collation <link xlink:href="http://www.w3.org/2005/xpath-functions/collation/codepoint/"
><code>http://www.w3.org/2005/xpath-functions/collation/codepoint</code></link>. This is also its default.
<impl>Support for other collations is <glossterm>implementation-defined</glossterm>.</impl></para>
</listitem>
Expand All @@ -76,4 +76,13 @@ newline (&amp;#10;).</para>
<title>Document properties</title>
<para feature="text-sort-preserves-all">All document properties are preserved.</para>
</simplesect>

<simplesect>
<title>Erratum, April 2024</title>
<para>The URI for the Unicode Codepoint Collation has been corrected to an <code>http:</code> URI rather than
an <code>https:</code> one. The URI is an identifier and the correct identifier uses an <code>http:</code> URI.
Implementations are encouraged to recognized collation URIs that begin with “<code>https://www.w3.org/</code>”
and treat them as if they began “<code>http://www.w3.org/</code>”, with a warning, if practical.</para>
</simplesect>

</section>