hash 013 (AB)

Testing p:hash raises XC0036 for known algorithm but unsupported version.

Test ab-hash-013.xml is expected to fail with error code err:XC0036.

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:hash value="XML Processing Model Working Group" algorithm="crc" version="unsupported" match="/doc/@att">
      <p:with-input>
         <doc att="wrong"/>
      </p:with-input>
   </p:hash>
</p:declare-step>
MorganaXProc passing XML Calabash passing

Revision history

01 May 2019, Achim Berndzen

New tests for p:hash