Error test XD006 001

Tests that XD006 is raised when a non sequence port receives p:empty

Test ab-err-d0006-001.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:empty/>
      </p:with-input>
   </p:add-attribute>
</p:declare-step>
MorganaXProc passing XML Calabash passing

Revision history

02 Jun 2018 17:53, Norman Walsh

Fix namespace declarations

25 Apr 2018 18:11, Achim Berndzen

More tests.