Error test XD006 002

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

Test 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"
                xmlns:t="http://xproc.org/ns/testsuite/3.0" 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>

Revision history

10 Aug 2018, Achim Berndzen
Some new and some changed tests
02 Jun 2018, Norman Walsh
Fix namespace declarations
25 Apr 2018, Achim Berndzen
More tests.