p:archive 074 (AB)

Tests p:archive: It is a dynamic error, if @href is not a valid absolute URI according to RFC 3986.

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

The pipeline


      <p:declare-step xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
            <p:output port="result"/>        

            <p:archive>
               <p:with-input port="source">
                  <p:inline document-properties="map{'base-uri' : 'http://test/one.xml'}">
                        <doc-a xmlns=""/>
                  </p:inline>
               </p:with-input>
               <p:with-input port="manifest">
                  <c:archive xmlns:c="http://www.w3.org/ns/xproc-step">
                     <c:entry xmlns:c="http://www.w3.org/ns/xproc-step" href="%gg" name="entry.xml"/>
                  </c:archive>
               </p:with-input>
             </p:archive>
      </p:declare-step>
   

Revision history

23 Nov 2019, Achim Berndzen

Test added