ValidationEvent.ERROR, // maybe it should be a fatal error.
Messages.format(Messages.ERR_TYPE_MISMATCH,
getUserFriendlyTypeName(parentObject),
fieldName,
getUserFriendlyTypeName(childObject) ),
new ValidationEventLocatorExImpl(parentObject,fieldName) );
serializer.reportError(ve);
}