Validation of user input is also the responsibility of the task author. For example, in our copy task we want to make sure the user has supplied a non-null and non-blank value for both source file and destination directory attributes.
There are two different validation methods a task author must implement.