p:set-properties-023 (AB)

Tests XD0070 is raised, if value for 'serialization' is not a map.

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

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{'serialization' : 'error' }"
                     merge="true">
      <p:with-input>
         <p:inline>
            <doc/>
         </p:inline>
      </p:with-input>
   </p:set-properties>
</p:declare-step>

Revision history

03 Oct 2019, Achim Berndzen
Additional tests for p:set-properties