with-input-037

Tests p:with-input: Checks p:empty and p:pipe are not allowed as connection.

Test ab-with-input-037.xml is expected to fail with error code err:XS0089.

The pipeline


<p:declare-step xmlns:err="http://www.w3.org/ns/xproc-error" xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
   <p:output port="result"/>
   <p:identity name="identity">
      <p:with-input>
         <doc/>
      </p:with-input>
   </p:identity>
   <p:identity>
      <p:with-input>
         <p:empty/>
         <p:pipe step="identity" port="result"/>
      </p:with-input>
   </p:identity>
</p:declare-step>
MorganaXProc passing XML Calabash passing

Revision history

09 Jul 2018 18:16, Achim Berndzen

Corrected tests and adapt to changes in the spec

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