Error test XD006 004

Tests that XD006 is raised when more than one document arrives on a non-sequence port

Test ab-err-d0006-004.xml is expected to fail with error code err:XD0006.

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:input port="source">
      <p:inline>
         <doc/>
      </p:inline>
   </p:input>
   <p:identity/>
</p:declare-step>
MorganaXProc passing XML Calabash passing

Inputs

port = source


<doc/>

port = source


<doc/>

Revision history

02 Jun 2018 17:53, Norman Walsh

Fix namespace declarations

25 Apr 2018 18:11, Achim Berndzen

More tests.