<?xml-stylesheet type="text/xsl" href="/style/testcase.xsl"?>
<t:test xmlns:t="http://xproc.org/ns/testsuite"
        xmlns:p="http://www.w3.org/ns/xproc"
        xmlns:c="http://www.w3.org/ns/xproc-step"
        xmlns:err="http://www.w3.org/ns/xproc-error">

<t:title>Test hash-006</t:title>

<t:input port='source'>
<doc hash="wrong">
<p>This is a p.</p>
</doc>
</t:input>

<t:pipeline>
<p:pipeline version='1.0' name="pipeline">

<p:hash value="XML Processing Model Working Group" algorithm="sha" version="1"
	match="/doc/@hash"/>

</p:pipeline>
</t:pipeline>

<t:output port='result'>
<doc hash="14c8a3c3a2438acaa1814f2c2d111aa403c7b5d4">
<p>This is a p.</p>
</doc>
</t:output>

</t:test>


