Library import 004 (AB)

Tests XS0062 is raised, if @version is missing on p:library.

Test ab-library-004.xml is expected to fail with error code err:XS0062.

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-library-004.xpl"/>
   <p:output port="result"/>
   <x:one name="step1"/>
   <x:two name="step2"/>
   <p:wrap-sequence wrapper="result">
      <p:with-input pipe="@step1 @step2"/>
   </p:wrap-sequence>
</p:declare-step>
MorganaXProc passing XML Calabash passing

Revision history

09 Jul 2019, Achim Berndzen

Fixed error namespace in test.

24 Feb 2019, Achim Berndzen

Added new tests for p:declare-step and p:import.