Bugfix. bugzilla #44
Added check for null in validateFormat.
Authored by: rlw 2005-01-05
Parent: [r3320]
Child: [r3322]