It is a static error if the expanded QName and number of arguments in a function call do not match the name and arity of a function signature in the static context. Error while evaluating expression: $currentResource/concat(/god/@id). concat() requires at least two argumentsInvalid value for cast/constructor. Error while evaluating expression: $currentResource/xs:integer('STRING'). can not convert 'STRING' to xs:integer