Attribute value templates 011 (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="{[1, 2, 3]} {4 to 5}">
      <p:with-input>
         <doc/>
      </p:with-input>
   </p:add-attribute>
</p:declare-step>

Revision history

04 Aug 2022, Achim Berndzen
Making test fail with XD0051 because arrays are not allowed in AVTs.
10 Jun 2021, Achim Berndzen
Added attribute 'queryBinding' to schematron's schema.
13 Apr 2020, Achim Berndzen
New test