JSON merge 022(AB)

Tests that it is an error, if @key returns a map.

Test ab-json-merge-022.xml is expected to fail with error code err:XC0110.

The pipeline


<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:json-merge key="map{{'key' : 'value'}}">
      <p:with-input expand-text="false">
         <p:inline>
            <xml/>
         </p:inline>
         <p:inline content-type="text/html">
            <html/>
         </p:inline>
      </p:with-input>
   </p:json-merge>
</p:declare-step>
MorganaXProc passing XML Calabash passing

Revision history

13 Oct 2019, Achim Berndzen

Added tests for p:json-merge