fieldType.verify(fieldValue, path + "/" + fieldName));
remainingFields.remove(fieldName);
}
for (Iterator iter = remainingFields.iterator(); iter.hasNext(); ) {
final String fieldName = (String) iter.next();
errors.add(new VerificationError(
VerificationError.TYPE_UNEXPECTED_VALUE,
path + "/" + fieldName,
(MetaDataValue) fieldValues.get(fieldName), null,
"Unexpected field. Field '" + fieldName +
"' is not expected here."));