Attribute value templates 012 (AB)

Tests AVTs.

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

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:add-attribute match="/*" attribute-name="avt"
                    attribute-value="{map{'a' : '5'} }">
      <p:with-input>
         <doc/>
      </p:with-input>
   </p:add-attribute>
</p:declare-step>

Revision history

04 Aug 2022, Achim Berndzen
Changed generict error code XD0030 to more specific XD0051.
13 Apr 2020, Achim Berndzen
New test