Import-005 (AB)

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

Test ab-import-005.xml 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:x="http://test" version="3.0">
   <p:import href="../pipelines/ab-import-002.xpl"/>
   <p:output port="result"/>
   <x:step/>
</p:declare-step>
MorganaXProc passing XML Calabash failing

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.