validationCode

Creates the validation code for an instance of this XSType. If necessary the validation
code should create a newly configured TypeValidator, that should then be added to a
FieldValidator instance whose name is provided.