Variable declaration 021a (strict)

Checks XD0008 is raised if more than one document appears as connection of p:variable and @connection is missing even if the variable is not used.

Test ab-variable-021a-strict.xml is expected to fail with error code err:XD0001.

The pipeline

<p:declare-step xmlns:err="" xmlns:p="" version="3.0">
   <p:output port="result"/>
   <p:variable name="var" select="count(.)">
MorganaXProc passing XML Calabash failing

Revision history

12 Dec 2021, Achim Berndzen

Test added.