Error test XD006 002

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

Test ab-err-d0006-002.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:add-attribute match="/doc" attribute-name="att" attribute-value="val">
      <p:with-input>
         <p:inline>
            <doc/>
         </p:inline>
         <p:inline>
            <doc/>
         </p:inline>
      </p:with-input>
   </p:add-attribute>
</p:declare-step>
MorganaXProc passing XML Calabash passing

Revision history

10 Aug 2018 18:12, Achim Berndzen

Some new and some changed tests

02 Jun 2018 17:53, Norman Walsh

Fix namespace declarations

25 Apr 2018 18:11, Achim Berndzen

More tests.