p:pipe 020 (AB)

Tests pipe short cut on non-primary ports.

Test ab-p-pipe-020.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"/>
               <doc xmlns=""/>
         <p:insert match="/root" position="first-child">
            <p:with-input port="source">
               <root xmlns=""/>
            <p:with-input port="insertion" pipe=""/>
MorganaXProc passing XML Calabash passing

Schematron validation

      <s:schema xmlns:s="http://purl.oclc.org/dsdl/schematron" queryBinding="xslt2">
            <s:rule context="/">
               <s:assert test="root">Root element is root.</s:assert>
               <s:assert test="root/doc">Root element does not have a child 'doc'.</s:assert>

Revision history

10 Jun 2021, Achim Berndzen

Added attribute 'queryBinding' to schematron's schema.

01 Sep 2019, Achim Berndzen

Additional tests for p:pipe