p:set-properties-032 (AB)

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

Test ab-set-properties-032.xml is expected to fail with error code err:XD0064 [XProc, Core steps].

The pipeline


<p:declare-step xmlns:err="http://www.w3.org/ns/xproc-error" xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
   <p:output port="result">
   <p:set-properties properties="map{'base-uri' : '%gg'}">
      <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>
MorganaXProc passing XML Calabash failing

Revision history

29 Nov 2019, Achim Berndzen

Additional tests for p:set-properties