p:load 09

Its a dynamic error, if @content-type is not valid..

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

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" version="3.0">
   <p:output port="result"/>
   <p:load content-type="surely-not-correct"
           href="file.xml"/>
</p:declare-step>

Revision history

23 Jun 2020, Achim Berndzen
Additional tests for p:load.