p:archive 076 (AB)

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

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

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"
                xmlns:t="http://xproc.org/ns/testsuite/3.0"
                xmlns:xs="http://www.w3.org/1999/XSL/Transform" version="3.0">
   <p:output port="result"/>
   <p:archive relative-to="##">
      <p:with-input port="source">
         <p:inline document-properties="map{'base-uri' : 'http://test/one.xml'}">
            <doc-a/>
         </p:inline>
      </p:with-input>
   </p:archive>
</p:declare-step>

Revision history

23 Nov 2019, Achim Berndzen
Test added