Can you clarify what this is supposed to do? First, I assume this is JSONiq syntax, yes? Second, is the use of [] an array index? If yes, I assume then it's supposed to return () because the thing to which the [] is applied isn't an array, yes? If that's true, then why isn't it an error?
Can you clarify what this is supposed to do? First, I assume this is JSONiq syntax, yes? Second, is the use of [] an array index? If yes, I assume then it's supposed to return () because the thing to which the [] is applied isn't an array, yes? If that's true, then why isn't it an error?