p:document 039

Its a dynamic error, if @href is not a valid uri.

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

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:identity>
      <p:with-input>
         <p:document href="%gg"/>
      </p:with-input>
   </p:identity>
</p:declare-step>

Revision history

24 Nov 2019, Achim Berndzen
Additional tests for p:document.