Connection 007

Tests that the primary output port of the last step of a subpipeline is not connected to the pipelines primary output port, if the later has an explicit connection.

Test ab-connection-007.xml is expected to pass.

The pipeline

      <p:declare-step xmlns:p="" version="3.0">
         <p:output port="result" primary="true">
            <p:pipe step="one" port="result"/>
         <p:identity name="one">
            <p:with-input port="source">
               <one xmlns=""/>
         <p:identity name="two">
               <two xmlns=""/>
MorganaXProc passing XML Calabash passing

Schematron validation

      <s:schema xmlns:s="">
            <s:rule context="/">
               <s:assert test="one">The root is not one.</s:assert>
               <s:assert test="count(one/node())=0">The root element does not have children.</s:assert>

Revision history

15 Sep 2018 11:06, Achim Berndzen

Some tests changed and new tests

02 Jun 2018 17:53, Norman Walsh

Fix namespace declarations

29 Dec 2017 19:20, Achim Berndzen

Creating new tests, extending rng and corrected xproc's test