p:set-attributes-013 (AB)

Tests p:set-attributes

Test ab-set-attributes-013.xml is expected to fail with error code err:XD0038.

The pipeline


      <p:declare-step xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
         <p:output port="result"/>
            
         <p:set-attributes attributes="map{'att':'1'}">
            <p:with-input port="source">
               <p:inline content-type="application/json">{{"key":"1"}}</p:inline>
            </p:with-input>
         </p:set-attributes>
      </p:declare-step>
   
MorganaXProc passing XML Calabash passing

Revision history

23 Jun 2019, Achim Berndzen

Changed test to new step signature.

19 May 2019, Achim Berndzen

Tests for p:set-attributes