p:archive 055 (AB)

Tests p:archive: XD0064 must be raised if c:archive/@href is not an instance of xs:anyURI.

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

The pipeline


<p:declare-step xmlns:c="http://www.w3.org/ns/xproc-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" pipe="report"/>
   <p:archive>
      <p:with-input port="source">
         <p:empty/>
      </p:with-input>
      <p:with-input port="manifest">
         <c:archive>
            <c:entry name="name" href="::"/>
         </c:archive>
      </p:with-input>
      <p:with-input port="archive">
         <p:empty/>
      </p:with-input>
   </p:archive>
</p:declare-step>
MorganaXProc passing XML Calabash passing

Revision history

01 Sep 2019, Achim Berndzen

Tests for p:archive