Validate the given source.