pipe-012 (AB)

Tests XS0022 is raised if pipe on p:variable goes to unknown port.

Test ab-pipe-012.xml is expected to fail with error code err:XS0022.

The pipeline

      <p:declare-step xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
         <p:output port="result"/>
         <p:identity name="producer">
            <p:with-input><doc xmlns="" a="42"/></p:with-input>
         <p:variable name="var" select="/doc/@a" pipe="secondary@producer"/>
         <p:add-attribute attribute-name="att" attribute-value="{$var}">
            <p:with-input><result xmlns=""/></p:with-input>
MorganaXProc passing XML Calabash passing

Revision history

31 May 2019, Achim Berndzen

Checks p:pipe on p:variable