Added a checkInputSource(..) to SimpleValidator.