[318313] [xpath2] improvements to computation of typed values of nodes, validated by XML Schema primitive types