Error XD0061

Test is expected to fail with error code err:XD0061.

The pipeline

<p:declare-step xmlns:err="http://www.w3.org/ns/xproc-error"
                xmlns:p="http://www.w3.org/ns/xproc"
                xmlns:t="http://xproc.org/ns/testsuite/3.0"
                xmlns:xs="http://www.w3.org/2001/XMLSchema" name="main" version="3.0">
   <p:output port="result" sequence="true"/>
   <p:variable name="error" as="xs:QName"
               select="'hello world'"/>
   <p:identity name="inline">
      <p:with-input port="source">
         <p:inline>
            <t:doc>{$error}</t:doc>
         </p:inline>
      </p:with-input>
   </p:identity>
</p:declare-step>

Revision history

17 Oct 2021, Norman Walsh
A few editorial changes without substantive effect on the test.
20 Jul 2019, Achim Berndzen
Fixed test by declaring xs-namespace.
20 Dec 2018, Achim Berndzen
Error should now be err:XD0061, since we now have a more specific code. (Was originally name 'err-xd0036-001.xml')
18 Mar 2018, Achim Berndzen
New tests. Some tests changed to new order in p:pipe
15 Oct 2017, Norman Walsh
Added tests for invalid sequence type and unmatched sequence type