Import-004 (AB)

Tests XS0052 is raised on import of a non-xml doc.

Test is expected to fail with error code err:XS0052.

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:x="http://test" version="3.0">
   <p:import href="../doc/text-file-utf-8.txt"/>
   <p:output port="result"/>
   <x:step/>
</p:declare-step>

Revision history

24 Feb 2019, Achim Berndzen
Added new tests for p:declare-step and p:import.