p:set-properties-033 (AB)

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

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

The pipeline


      <p:declare-step xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
         <p:output port="result"/>
            
         <p:set-properties properties="map{'base-uri' : 'http://www.xproc.org/%gg'}">
            <p:with-input>
               <p:inline xml:base="http://www.old-base-uri.test"><doc xmlns=""/></p:inline>
            </p:with-input>
         </p:set-properties>
         
         <p:identity>
            <p:with-input>
               <result xmlns="">
                  <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