new ValueConstraintsMatcher(def.getValueConstraints(), session.getLocationFactory(),
session.getTransientNodesManager(), session.getWorkspace().getNodeTypesHolder());
for (ValueData value : newValues)
{
if (!constraints.match(value, type))
{
String strVal = null;
if (type != PropertyType.BINARY)
{
strVal = ValueDataUtil.getString(value);