Tests content-type and document-properties must match.
Test ab-variable-052.xml is expected to fail with error code err:XD0062 [Core steps, XProc].
<p:declare-step xmlns:err="http://www.w3.org/ns/xproc-error" xmlns:p="http://www.w3.org/ns/xproc" xmlns:xs="http://www.w3.org/2001/XMLSchema" version="3.0">
<p:output port="result"/>
<p:variable name="var" select=".">
<p:document href="../documents/ab-doc.xml" content-type="application/xml" document-properties="map{'content-type' : 'text/plain'}"/>
</p:variable>
<p:identity>
<p:with-input>
<failed/>
</p:with-input>
</p:identity>
</p:declare-step>
New test.