Tests p:text-sort: err:XD0030
or err:XC0098
should be raised if collation is unknown.
Test ab-text-sort-022.xml is expected to fail with one of the following error codes: err:XC0098
or err:XD0030
.
<p:declare-step xmlns:err="http://www.w3.org/ns/xproc-error" xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
<p:output port="result"/>
<p:text-sort collation="i-do-not-exist">
<p:with-input>
<p:inline content-type="text/plain">A
B
V
D
X</p:inline>
</p:with-input>
</p:text-sort>
<p:wrap-sequence wrapper="wrapper"/>
</p:declare-step>
Allow err:XC0098
as an acceptable error for this test.
Some tests for p:text-sort