Defaulted p:inline

Test default-p-input.xml is expected to pass.

The pipeline


      <p:declare-step xmlns:p="http://www.w3.org/ns/xproc" name="main" version="3.0">
         <p:output port="result"/>

         <p:identity name="two">
            <p:with-input port="source">
               <doc xmlns="">The p:inline element can be defaulted.</doc>
            </p:with-input>
         </p:identity>
      </p:declare-step>
   
MorganaXProc passing XML Calabash passing

Schematron validation


      <s:schema xmlns:s="http://purl.oclc.org/dsdl/schematron">
         <s:ns prefix="p" uri="http://www.w3.org/ns/xproc"/>
         <s:pattern>
            <s:rule context="/*">
               <s:assert test="self::doc">The pipeline root is not doc.</s:assert>
            </s:rule>
         </s:pattern>
      </s:schema>
   

Revision history

02 Feb 2018 17:42, Achim Berndzen

added new tests

24 Sep 2017 17:47, Norman Walsh

Port my test suite; add documentation and schemas