p:set-attributes-012 (AB)

Tests p:set-attributes

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

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-attributes attributes="map{'att':1}">
      <p:with-input port="source">
         <p:inline content-type="text/plain">text</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