AB for-each 015

Tests sequence attribute on inner output port of p:for-each.

Test is expected to fail with error code err:XD0007.

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:identity>
      <p:with-input>
         <doc1/>
      </p:with-input>
   </p:identity>
   <p:for-each>
      <p:output port="result">
         <p:inline>
            <res/>
         </p:inline>
         <p:pipe step="id"/>
      </p:output>
      <p:identity name="id"/>
   </p:for-each>
   <p:wrap-sequence wrapper="result"/>
</p:declare-step>

Revision history

18 Sep 2019, Achim Berndzen
Initial test