JSON join 006(AB)

Tests p:JSON-join/@flatten-to-depth is handled correctly: Only positive int or 'unbounded' allowed.

Test ab-json-join-006.xml is expected to fail with error code err:XC0119.

The pipeline

      <p:declare-step xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
         <p:output port="result"/>
         <p:json-join flatten-to-depth="unlimited">
               <p:inline content-type="application/json">[ "A", 1]</p:inline>
               <p:inline content-type="application/json">"B"</p:inline>
               <p:inline content-type="application/json">[42, ["D", true]]</p:inline>
         <p:cast-content-type content-type="application/xml"/>
MorganaXProc passing XML Calabash failing

Revision history

14 Dec 2019, Achim Berndzen

Changed error code to XC0119

06 Sep 2019, Achim Berndzen

Added tests for p:json-join