Skip to content

Commit

Permalink
Merge pull request #684 from ndw/fix-collation
Browse files Browse the repository at this point in the history
Fix URI for Unicode codepoint collation
  • Loading branch information
ndw authored Oct 5, 2024
2 parents 6dcf873 + e3261e3 commit 4de5541
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 4 deletions.
13 changes: 11 additions & 2 deletions test-suite/tests/ab-text-sort-030.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@
<t:info>
<t:title>p:text-sort-030 (AB)</t:title>
<t:revision-history>
<t:revision>
<t:date>2024-03-27</t:date>
<t:author>
<t:name>Norm Tovey-Walsh</t:name>
</t:author>
<t:description xmlns="http://www.w3.org/1999/xhtml">
<p>Corrected URI for Unicode codepoint collation</p>
</t:description>
</t:revision>
<t:revision>
<t:date>2022-09-03</t:date>
<t:author>
Expand All @@ -22,7 +31,7 @@
<p:declare-step version="3.0"
xmlns:p="http://www.w3.org/ns/xproc">
<p:output port="result"/>
<p:text-sort lang="de" case-order="upper-first" collation="https://www.w3.org/2005/xpath-functions/collation/codepoint">
<p:text-sort lang="de" case-order="upper-first" collation="http://www.w3.org/2005/xpath-functions/collation/codepoint">
<p:with-input>
<p:inline content-type="text/plain">b
a
Expand All @@ -47,4 +56,4 @@ A
</s:pattern>
</s:schema>
</t:schematron>
</t:test>
</t:test>
13 changes: 11 additions & 2 deletions test-suite/tests/ab-text-sort-031.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@
<t:info>
<t:title>p:text-sort-031 (AB)</t:title>
<t:revision-history>
<t:revision>
<t:date>2024-03-27</t:date>
<t:author>
<t:name>Norm Tovey-Walsh</t:name>
</t:author>
<t:description xmlns="http://www.w3.org/1999/xhtml">
<p>Corrected URI for Unicode codepoint collation</p>
</t:description>
</t:revision>
<t:revision>
<t:date>2022-09-03</t:date>
<t:author>
Expand All @@ -22,7 +31,7 @@
<p:declare-step version="3.0"
xmlns:p="http://www.w3.org/ns/xproc">
<p:output port="result"/>
<p:text-sort lang="de" case-order="lower-first" collation="https://www.w3.org/2005/xpath-functions/collation/codepoint">
<p:text-sort lang="de" case-order="lower-first" collation="http://www.w3.org/2005/xpath-functions/collation/codepoint">
<p:with-input>
<p:inline content-type="text/plain">b
a
Expand All @@ -47,4 +56,4 @@ A
</s:pattern>
</s:schema>
</t:schematron>
</t:test>
</t:test>

0 comments on commit 4de5541

Please sign in to comment.