The function {0} was specified for nonindexed spec-driven attribute.
Explanation
Function with nonindexed spec-driven attribute is not supported in a query.
User response
Use function only with named or indexed spec-driven attribute, for example, 'item' or 'item['spec/indexed']'.