r23656: Add initial checking of the validity of a paramter