Tests for p:xquery (Partly ported from 1.0)
Tests p:xquery: JSON arrays can not be source docs in XQuery 3.0