AB for-each 018

Tests that it is not an error, if a sequence is the inner result because manufactured port is sequence.

Test ab-for-each-018.xml is expected to pass.

The pipeline

      <p:declare-step xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
         <p:output port="result"/>
               <doc1 xmlns=""/>
                  <inner1 xmlns=""/>
                  <inner2 xmlns=""/>
         <p:wrap-sequence wrapper="result"/>
MorganaXProc passing XML Calabash passing

Schematron validation

      <s:schema xmlns:s="http://purl.oclc.org/dsdl/schematron">
            <s:rule context="/">
               <s:assert test="result">The document root is not 'result'.</s:assert>
               <s:assert test="result/inner1">Document root does not have child 'inner1'.</s:assert>
               <s:assert test="result/inner2">Document root does not have child 'inner2'.</s:assert>

Revision history

18 Sep 2019, Achim Berndzen

Initial test