Tests is is an error to import a step type with @visibility="private".
Test ab-library-002.xml is expected to fail with error code err:XS0044
.
<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-002.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>
Added new tests for p:declare-step and p:import.