Input 016

Tests that p:pipeinfo is allowed on p:input with @href.

Test ab-input-016.xml is expected to pass.

The pipeline

      <p:declare-step xmlns:p="" version="3.0">
            <p:input port="source" href="../documents/ab-doc.xml">
            <p:output port="result"/>        
MorganaXProc passing XML Calabash passing

Schematron validation

<s:schema xmlns:s="" xmlns:p="" xmlns:rng="">
   <s:ns prefix="p" uri=""/>

     <s:rule context="/*">
       <s:assert test="self::doc">The pipeline root is not doc.</s:assert>
       <s:assert test="count(self::doc//*) = 0">No children of doc expected.</s:assert>
       <s:assert test="count(self::doc//@*) = 0">No attributes of doc expected.</s:assert>

Revision history

18 Mar 2018 07:41, Achim Berndzen

New tests. Some tests changed to new order in p:pipe