p:document 040

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

Test ab-p-document040.xml is expected to fail with error code err:XD0064 [Core steps, XProc].

The pipeline


<p:declare-step xmlns:err="http://www.w3.org/ns/xproc-error" xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
   <p:output port="result"/>
   <p:identity>
      <p:with-input>
         <p:document xml:base="/%gg/" href="file.xml"/>
      </p:with-input>
   </p:identity>
</p:declare-step>
MorganaXProc passing XML Calabash passing

Revision history

24 Nov 2019, Achim Berndzen

Additional tests for p:document.