Converted ValidationDefinition to use elementree