You both prove my point: the design of XQuery 3.1 was done to “help” selfishly and with a very short term vision two-three companies (Saxon, Exist, MarkLogic), and with complete
disregard to the big picture of the needs of querying and processing semi-structured data in the industry (which includes both XML and JSON).