p:import-022 (AB)

Tests p:import gets scope right: test:step-a is not visible in test:step-b

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:test="http://test" name="pipeline"
                version="3.0">
   <p:import href="../pipelines/import-022a.xpl"/>
   <p:import href="../pipelines/import-022b.xpl"/>
   <p:output port="result"/>
   <test:step-b/>
</p:declare-step>

Revision history

30 May 2022, Achim Berndzen
Initial test