Added XML Validation