Validating empty data from xml files