Tests that XD0040 is raised when encoding is base64 and content is not properly encoded.
Test ab-inline-003.xml is expected to fail with error code err:XD0040
.
<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:identity>
<p:with-input>
<p:inline encoding="base64" content-type="text/plain">Dies ist ein Text.</p:inline>
</p:with-input>
</p:identity>
</p:declare-step>
Some new and some changed tests
=Adapted tests to PR #422
Change test with document-properties to map{xs:QName, item()}
Some new tests.