Tests XS0052 is raised on import of a xml doc which is not a pipeline/library.
Test ab-import-003.xml is expected to fail with error code err:XS0052
.
<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="../doc/ab-doc.xml"/>
<p:output port="result"/>
<x:step/>
</p:declare-step>
Added new tests for p:declare-step and p:import.