ab-inline-003

Tests that XD0040 is raised when encoding is base64 and content is not properly encoded.

Test is expected to fail with error code err:XD0040.

The pipeline

<p:declare-step xmlns:err="http://www.w3.org/ns/xproc-error"
                xmlns:p="http://www.w3.org/ns/xproc"
                xmlns:t="http://xproc.org/ns/testsuite/3.0" 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>

Revision history

10 Aug 2018, Achim Berndzen
Some new and some changed tests
07 Jul 2018, Achim Berndzen
=Adapted tests to PR #422
02 May 2018, Achim Berndzen
Change test with document-properties to map{xs:QName, item()}
03 Apr 2018, Achim Berndzen
Some new tests.