ab-doc-props-020

Tests XD0070 is raised, if value for 'serialization' in document properties can not be force to map{xs:QName, item()*}.

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

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 document-properties="map{'serialization' : map{'5' : 'error'} }">
            <doc/>
         </p:inline>
      </p:with-input>
   </p:identity>
</p:declare-step>

Revision history

03 Oct 2019, Achim Berndzen
Initial submit