Add-attribute-020 (AB)

Tests an error to be raised if match on p:add-attribute matches doc root.

Test ab-add-attribute-020.xml is expected to fail with error code err:XC0023 [XProc, Core steps].

The pipeline

      <p:declare-step xmlns:p="" version="3.0">
         <p:output port="result"/>
         <p:add-attribute match="/" attribute-value="5" attribute-name="att">
               <doc xmlns="" attribute="3">
                  Some text
MorganaXProc passing XML Calabash passing

Revision history

16 Feb 2019, Achim Berndzen

Added new tests for p:add-attribute.