p:archive 075 (AB)

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

Test ab-p-archive-075.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" xmlns:xs="http://www.w3.org/2001/XMLSchema" version="3.0">
   <p:output port="result"/>
      <p:with-option name="relative-to" select="xs:anyURI('%GG')"/>
      <p:with-input port="source">
         <p:inline document-properties="map{'base-uri' : 'http://test/one.xml'}">
MorganaXProc passing XML Calabash passing

Revision history

14 Dec 2019, Achim Berndzen

Fixed test by declaring prefix "xs".

23 Nov 2019, Achim Berndzen

Test added