p:text-sort-017 (AB)

Tests p:text-sort: XC0098 must be raised, if @sort-key has a dynamic error.

Test ab-text-sort-017.xml is expected to fail with error code err:XC0098.

The pipeline


<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 sort-key="error()">
      <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>
MorganaXProc passing XML Calabash passing

Revision history

01 Sep 2019, Achim Berndzen

Some tests for p:text-sort