p:try-016

Tests XS0083 is raised if @code is not a whitespace separated list of EQNames: Make sure the second is considered to.

Test ab-try-016.xml is expected to fail with error code err:XS0083.

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:try>
      <p:identity>
         <p:with-input>
            <doc/>
         </p:with-input>
      </p:identity>
      <p:catch code="a 1">
         <p:identity>
            <p:with-input>
               <doc/>
            </p:with-input>
         </p:identity>
      </p:catch>
   </p:try>
</p:declare-step>
MorganaXProc passing XML Calabash passing

Revision history

31 Oct 2018, Achim Berndzen

Initial test