p:archive 049 (AB)

Tests p:archive: XC0084 must be raised if two document on port source have the same base-uri.

Test ab-p-archive-049.xml is expected to fail with error code err:XC0084.

The pipeline


      <p:declare-step 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:inline document-properties="map{'base-uri' : 'http://test/uri'}">
                        <doc-a xmlns=""/>
                  </p:inline>
                  <p:inline document-properties="map{'base-uri' : 'http://test/uri'}">
                     <doc-b xmlns=""/>
                  </p:inline>
               </p:with-input>
               <p:with-input port="manifest"><p:empty/></p:with-input>
               <p:with-input port="archive"><p:empty/></p:with-input>
            </p:archive>
         
      </p:declare-step>
   
MorganaXProc passing XML Calabash failing

Revision history

01 Sep 2019, Achim Berndzen

Tests for p:archive