ab-inline-002

Tests that XD0055 is raised when content-type contains charset and encoding is not present.

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

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 content-type="text/plain; charset=UTF-8">Dies ist ein Text.</p:inline>
      </p:with-input>
   </p:identity>
</p:declare-step>

Revision history

07 Jul 2018, Achim Berndzen
=Adapted tests to PR #422
02 Jun 2018, Norman Walsh
Fix namespace declarations
02 May 2018, Achim Berndzen
Change test with document-properties to map{xs:QName, item()}
03 Apr 2018, Achim Berndzen
Some new tests.