hash 012 (AB)

Testing p:hash raises XC0036 for unsupported algorithm.

Test 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"
                xmlns:t="http://xproc.org/ns/testsuite/3.0" version="3.0">
   <p:output port="result"/>
   <p:hash value="XML Processing Model Working Group"
           algorithm="unsupported" match="/doc/@att">
      <p:with-input>
         <doc att="wrong"/>
      </p:with-input>
   </p:hash>
</p:declare-step>

Revision history

01 May 2019, Achim Berndzen
New tests for p:hash