edm validation and tree control