Output port declaration 014 (AB)

Tests pipe on output port declaration

Test ab-output-declaration-014.xml is expected to pass.

The pipeline

      <p:declare-step xmlns:p="http://www.w3.org/ns/xproc" name="main" version="3.0">
        <p:input port="source">
            <doc xmlns=""/>
         <p:output port="result"/>
         <p:viewport match="/*" name="viewport">
               <p:output port="result">
                  <p:pipe step="viewport" port="current"/>
                  <p:with-input><doc-x xmlns=""/></p:with-input>
MorganaXProc passing XML Calabash failing

Schematron validation

      <s:schema xmlns:s="http://purl.oclc.org/dsdl/schematron">
            <s:rule context="/">
               <s:assert test="doc">The pipeline root is not doc.</s:assert>

Revision history

09 May 2020, Achim Berndzen

New tests