p:set-properties-022 (AB)

Tests XD0070 is raised if value of 'serialization' cannot be forced into map(xs:QName, item()*).

Test ab-set-properties-022.xml is expected to fail with error code err:XD0070 [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{'serialization' : map{'5' : 'error'} }" merge="true">
      <p:with-input>
         <p:inline>
            <doc/>
         </p:inline>
      </p:with-input>
   </p:set-properties>
</p:declare-step>
MorganaXProc passing XML Calabash passing

Revision history

03 Oct 2019, Achim Berndzen

Additional tests for p:set-properties