nw-avt-001

Tests for a static error in an AVT.

Test nw-avt-001.xml is expected to fail with error code err:XS0107.

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:add-attribute match="/*" attribute-name="avt" attribute-value="{(17}">
      <p:with-input>
         <doc/>
      </p:with-input>
   </p:add-attribute>
</p:declare-step>
XML Calabash passing

Revision history

16 Mar 2025, Norm Tovey-Walsh

New test