p:set-properties-031 (AB)

Tests value that XD0064 is raised, if base-uri is not absolute.

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

The pipeline

<p:declare-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" version="3.0">
   <p:output port="result"/>
   <p:set-properties properties="map{'base-uri' : 'test/'}">
      <p:with-input>
         <p:inline xml:base="http://www.old-base-uri.test">
            <doc/>
         </p:inline>
      </p:with-input>
   </p:set-properties>
   <p:identity>
      <p:with-input>
         <result>
            <property>{p:document-property(., 'base-uri')}</property>
         </result>
      </p:with-input>
   </p:identity>
</p:declare-step>

Revision history

29 Nov 2019, Achim Berndzen
Additional tests for p:set-properties