Tests (implicit) content-type and document-properties must match.
Test ab-variable-049.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:inline content-type="application/xml" document-properties="map{'content-type' : 'text/plain'}">
<doc/>
</p:inline>
</p:variable>
<p:identity>
<p:with-input>
<failed/>
</p:with-input>
</p:identity>
</p:declare-step>
New test.