Hi, I changed the value function to return an empty sequence when the index is invalid [1]. The size function that I implemented is both for arrays and objects. I, also, squashed my commits to one. [1] https://github.com/apache/vxquery/pull/70 Thank you, Christina