Additional request #2: At least some modules (such as dynamic/colletions/dml) accept "item()" arguments when they actually only work with structured-item(). This was done to make the module parseable in pure XQuery, but that no longer seems to be a relevant goal. Therefore we should change to use structured-item() in all places that it makes sense.
Additional request #2: At least some modules (such as dynamic/ colletions/ dml) accept "item()" arguments when they actually only work with structured-item(). This was done to make the module parseable in pure XQuery, but that no longer seems to be a relevant goal. Therefore we should change to use structured-item() in all places that it makes sense.