Testing p:hash raises XC0036 for unsupported algorithm.
Test ab-hash-012.xml is expected to fail with error code err:XC0036
.
<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="unsupported" match="/doc/@att">
<p:with-input>
<doc att="wrong"/>
</p:with-input>
</p:hash>
</p:declare-step>
New tests for p:hash