Import-005 (AB)

Tests XS0053 is raised if imported p:declare-step has no @type.

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

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:x="http://test" version="3.0">
   <p:import href="../pipelines/ab-import-002.xpl"/>
   <p:output port="result"/>
   <x:step/>
</p:declare-step>

Revision history

04 Nov 2024, Achim Berndzen
Changed expected error code: Was XS0053, but this error does no longer exist in XProc 3.1. So now XS0044 (no visible declaration) is raised.
24 Feb 2019, Achim Berndzen
Added new tests for p:declare-step and p:import.